một số bạn thân có thể xin đề nghị làm thế nào để vô hiệu hóa nút xem trên widget cgridview và làm thế nào để thêm nút giống như hoạt động ..Làm thế nào để vô hiệu hóa nút xem cgridview hoặc thiết visiability false
$this->widget('zii.widgets.grid.CGridView', array(
'id'=>'customer-grid',
'dataProvider'=>$model->search(),
'filter'=>$model,
'columns'=>array(
'id',
'first_name',
'last_name',
'club.club_name',
array(
'class' => 'CButtonColumn',
'updateButtonUrl' =>'Yii::app()->createUrl("/customer/editmember1",array("id" => $data->primaryKey))',
'updateButtonImageUrl'=>Yii::app()->request->baseUrl.'/images/edit.jpg',
'deleteButtonUrl' =>'Yii::app()->createUrl("/customer/delete",array("id" => $data->primaryKey))',
'deleteButtonImageUrl'=>Yii::app()->request->baseUrl.'/images/delete.jpg',
'viewButton' => array('visiable' => false),
),
),
));
[Có một tài liệu cho một lý do] (http://www.yiiframework.com/doc/api/1.1/CGridView/) – adamors
1 cho một số bạn thân! :) – happyhardik