extending CButtonColumn

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',),	),));

Take a look at the buttons property http://www.yiiframework.com/doc/api/CButtonColumn#buttons-detail

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…

Take a look at the template property: http://www.yiiframew…template-detail

you can set it without view… like




...

template='{update} {delete}',

...