带下拉列表yii助推器的批量操作
有没有一种方法可以使用下拉选项而不是链接、按钮或。。。buttongroup作为buttonType带下拉列表yii助推器的批量操作,yii,Yii,有没有一种方法可以使用下拉选项而不是链接、按钮或。。。buttongroup作为buttonType $this->widget ( 'bootstrap.widgets.TbExtendedGridView', array ( 'id'=>'grid', 'dataProvider'=>$dataProvider, 'bulkActions' => array( 'actionButtons' =&
$this->widget ( 'bootstrap.widgets.TbExtendedGridView', array (
'id'=>'grid',
'dataProvider'=>$dataProvider,
'bulkActions' => array(
'actionButtons' => array(
array(
'buttonType' => 'select',//?
'type' => 'primary',
'size' => 'small',
'label' => 'Batch',
'url' => array('batchUpdate'),
'id' => 'child_id',
'click' => ''
)
),....
看看: