Remove Buttons from CButtonColumn


how do i remove individual buttons (update, create or delete) from the CButtonColumn.

Thx in advance.

Check the documentation of CbuttonColumn template.

You can specify wich button show.

For example:


'CButtonColumn'=>array('template'=>'{update} {delete}')

now i made my own buttons.

Thx for help

You can also add new button to CButtonColumn, you have just to set the button property.

For example this way:







            'up' => array









Seems to be self-explanatory…

I wrote a cookbook article about it. Maybe it will help you in this matter?