1
<?= GridView::widget([
'id' => 'employee-grid',
'dataProvider' => $dataProvider,
'filterModel' => $searchModel,
'columns' => [
'first_name',
],
]); ?>
如何找到在AJAX的GridView的選擇行如何找到GridView控件中所選行
參見:http://www.yiiframework.com /forum/index.php/topic/53777-gridview-get-selected-colum/ –