1
我正在使用yii GridView,並且如果值等於預定義的值,我想突出顯示下表中的特定行。PHP yii GridView:如何突出顯示一行?
$this->widget('bootstrap.widgets.TbGridView', array(
'type'=>'striped bordered condensed',
'filter' => $model,
'dataProvider'=>$model->search(),
'columns'=>$columns,
'afterAjaxUpdate'=>'js:function(id, data) {$(".filters").hide();}',
));
我該怎麼做?
非常感謝。
完美!謝謝。 –