首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 开源软件 >

CButtonColumn设立CGridView的操作按钮

2012-07-05 
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

热点排行