[RESUELTO]Detalles en CGridView

Alquien sabe de que forma puedo en un CGridView ponerle por ejemplo el boton editar a las filas que me interesan que las tengas y a las que no que solo le salga el eliminar y el view nada mas?

‘buttonID’ => array(

'label'=>'...',     // text label of the button


'url'=>'...',       // a PHP expression for generating the URL of the button


'imageUrl'=>'...',  // image URL of the button. If not set or false, a text link is used


'options'=>array(...), // HTML options for the button tag


'click'=>'...',     // a JS function to be invoked when the button is clicked


[b]'visible'=>'...',   // a PHP expression for determining whether the button is visible[/b]

)

con la propiedad visible de los botones se resuelve ::)