Yii Framework Forum: How To Send Additional Parameter To Submit In Editable Column In Grid - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How To Send Additional Parameter To Submit In Editable Column In Grid

#1 User is offline   jackhad 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 13
  • Joined: 18-June 13

Posted 24 July 2013 - 12:51 AM

I want to send additional parameter to submit in editable column in yii grid

my editable widget code:
array(
'header'=>'Client',
		'name'=>'client_id',
		'class' => 'bootstrap.widgets.TbEditableColumn',
		'headerHtmlOptions' => array('style' => 'width: 250px'),
		'editable' => array( 
					'type'  => 'select',
					'url' => $this->createUrl('clientFiles/save'),
					'source'=>$getclients,
					'placement' => 'right',
					'options' => array('params' => array('time'=>"$data->clients->client_id"),)
					),


Error: Undefined variable: data
0

#2 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 3,339
  • Joined: 17-January 09
  • Location:Russia

Posted 25 July 2013 - 03:29 AM

Yii doesn't have any editable columns as far as I know.
Yii 1.1 Application Development Cookbook

Enjoying Yii? Star us at github: 1.1 and 2.0.
0

#3 User is offline   jackhad 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 13
  • Joined: 18-June 13

Posted 25 July 2013 - 04:24 AM

View Postsamdark, on 25 July 2013 - 03:29 AM, said:

Yii doesn't have any editable columns as far as I know.


Yii Bootstrap Having this http://yiibooster.cl...s.html#editable
0

#4 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 3,339
  • Joined: 17-January 09
  • Location:Russia

Posted 25 July 2013 - 05:00 AM

Well, that's most probably not Yii core bug. Either reproduce it w/o Bootstrap or report to Bootstrap author.
Yii 1.1 Application Development Cookbook

Enjoying Yii? Star us at github: 1.1 and 2.0.
1

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users