I would like to display two Kartik's Gridviews (with editable columns) within one form.
The problem is, if i would like to edit a value in the second gridview, the editable popup opens for the coresponding row in the first gridview.
Looking into the html, the id of the editables are the same for the between the two gridviews.
Picture of the two gridviews; editable in second grid was clicked.
The definition of the two gridviews in the view:
echo GridView::widget([
'id' => 'your_gridview_one',
'dataProvider'=>$dataProvider,
'columns'=>$gridColumns,
//'filterModel' => $searchModel,
'showHeader' => true,
]);
echo GridView::widget([
'id' => 'your_gridview_two',
'dataProvider'=>$secondDataProvider,
'columns'=>$gridColumns,
//'filterModel' => $searchModel,
'showHeader' => true,
]);
How can i change the ids of the editables?