I have 2 gridview in a form and from them I have to extract selectedrows, which I did with ‘class’ => ‘kartikgridCheckboxColumn’. In a controller receive the selected values in a selection[] variable. Here comes the problem. The selection[] variable brings the selection of the 2 gridViews. Ex: array (size=2) 0 => string ’10’ (length=2) 1 => string ’44’ (length=2)
Tag: gridview
Is it possible to use n or in Yii2 Kartik GridView DataColumn title?
I have a table with many colomns. It has a big lable strings and smal data strings, like ‘Average usage time’ and ’55’, | Average usage time | ______________________ | 55| so i want …
Default Filter in GridView with Yii2
I don’t know how to set the filter default of GridView. It’s mean when page loaded, it’s will load the filter with specific condition that I’ve set. Any idea for this? Thanks