Skip to content
Advertisement

Tag: gridview

yii2 double gridview in a form

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)

Advertisement