Hi folks,
Just wondering if this has been implemented in either GridView or Kartik’s (wonderful) GridView? I can’t seem to find a way to implement this functionality and it would be ever so useful…
Thanks in advance.
U4EA
Hi folks,
Just wondering if this has been implemented in either GridView or Kartik’s (wonderful) GridView? I can’t seem to find a way to implement this functionality and it would be ever so useful…
Thanks in advance.
U4EA
I think you can use a list box as the ‘filter’ of the DataColumn. Something like this:
[
'attribute' => 'some_column',
'filter' => Html::activeListBox($filterModel, 'some_column', $items, ['multiple' => true]),
]
Or, a check box list
[
'attribute' => 'some_column',
'filter' => Html::activeCheckboxList($filterModel, 'some_column', $items),
]