dimis283
(Dimis283)
1
I want to add some buttons to CButtonColumn.Is there a way with not trying to extend this class?
$this->widget('zii.widgets.grid.CGridView', array(
'dataProvider'=>$dataProvider,
'columns'=>array(
...
'art_code',
array( 'class'=>'CButtonColumn',), ),));
mdomba
(Maurizio Domba Cerin)
2
reload
(Pedro Bm19)
3
Hello… I’m new in this framework… i’m liking it lol my english is not very good sorry…
well, i have a question:
in CButtonColumn how can i hide the view button?
Thanks for any help…
mdomba
(Maurizio Domba Cerin)
4
Take a look at the template property: http://www.yiiframew…template-detail
you can set it without view… like
...
template='{update} {delete}',
...