Answers for "yii2 gridview row color"

0

yii2 gridview row color

'rowOptions' => function($model, $key, $index, $column){
    if($index % 2 == 0){
        return ['class' => 'info'];
    }
},
Posted by: Guest on June-05-2021

Browse Popular Code Answers by Language