Hi,
I have the following code to display a CGridView, how can I remove the "view" button on the CButtonColumn?
$this->widget("zii.widgets.grid.CGridView", array(
"dataProvider" => $view->data_providers->category,
"columns" => array(
"title",
array("class" => "CButtonColumn", "header" => "Options")
),
"cssFile" => Yii::app()->request->baseUrl . "/css/grid_view.css"
));
tri
(tri - Tommy Riboe)
2
Explicitly define template, but without the view button.
/Tommy