My problem if gouped count < 3 not gruped if count =<3 grouped how to solve this
[
'class' => 'dosamigos\grid\behaviors\GroupColumnsBehavior',
// You an use multiple columns for extra row but remember that will affect the merging
// as both columns must be having same values for the extra row to title the records
'extraRowColumns' => ['fan_id'],
'extraRowValue' => function($model, $key, $index, $totals) {
return '<span class="label label-warning">' . $model->fanId. '</span>';
},
// you can use multiple columns here
'mergeColumns' => ['fan_id','smester_id' ]
]
],
My problem if gouped count < 3 not gruped if count =<3 grouped how to solve this
http://tinypic.com/r/2d1mx34/9