php $this->widget('zii.widgets.grid.CGridView', array(
'id'=>'some-grid',
'dataProvider'=>$model->search(),
'filter'=>$model,
'columns'=>array(
'id',
'name',
'etc',
array(
'class'=>'CButtonColumn',
'template' => '{view} {update}',
),
)); ?>
great
ReplyDeleteThanks
ReplyDelete