CButtonColumn设立CGridView的操作按钮

CButtonColumn设置CGridView的操作按钮buttonID array(label...,//Text label of the button.

CButtonColumn设置CGridView的操作按钮

'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.    'options'=>array(), //HTML options for the button tag.    'click'=>'...',     //A JS function to be invoked when the button is clicked.    'visible'=>'...',   //A PHP expression for determining whether the button is visible.)
?

更详细可看下面URL:

http://www.yiiframework.com/wiki/106/using-cbuttoncolumn-to-customize-buttons-in-cgridview