arip
(Arips4)
December 14, 2011, 3:33am
1
I use like this
<?php
$this->widget('zii.widgets.grid.CEditableGridView', array(
'dataProvider'=>$dataProvider,
'showQuickBar'=>'true',
'quickCreateAction'=>'QuickCreate', // will be actionQuickCreate()
'columns'=>array(
'title', // display the 'title' attribute
array('header' => 'editMe', 'name' => 'editable_row', 'class' => 'CEditableColumn')
)));
?>
but not work, next i use
<?php
$this->widget('ext.editablegridview.CEditableGridView', array(
'dataProvider'=>$model,
'columns'=>array(
'Creditlimit', // display the 'title' attribute
)));
?>
i find error, how to use it???
http://www.yiiframework.com/extension/editablegridview/
jayanthan
(Jayanthan Webmaker)
January 7, 2012, 8:15am
2
hi, nice post.and helped in many problems.and one more doubt how to add dropdown list instead of textfield where ever i want.please reply as soon as possible.
rrhirani
(Rrhirani1990)
March 11, 2013, 6:43am
3
Use This Code.
$this->widget(‘ext.editgrid.CEditableGridView’, array(
'dataProvider'=>$dataProvider,
'showQuickBar'=>'true',
'quickCreateAction'=>'QuickCreate', // will be actionQuickCreate()
'columns'=>array(
'title', // display the 'title' attribute
array('header' => 'editMe', 'name' => 'editable_row', 'class' => 'CEditableColumn')
));
rrhirani
(Rrhirani1990)
March 11, 2013, 6:45am
4
[color="#FF0000 "]OR try this [/color]
$this->widget([color="#2E8B57 "]‘ext.CEditableGridView’[/color], array(
'dataProvider'=>$dataProvider,
'showQuickBar'=>'true',
'quickCreateAction'=>'QuickCreate', // will be actionQuickCreate()
'columns'=>array(
'title', // display the 'title' attribute
array('header' => 'editMe', 'name' => 'editable_row', 'class' => 'CEditableColumn')
));