I developed a web site with Yii2 framework and I need some help. I need to show two different GridViews with different data in one of my pages. I managed to show the tables and their data, but when I switch from the page of one table to another, the pages the other tables change too.
How can I work on one table without get the others one involved? (I'm using yii2-grid from Kartik-v)
<?= GridView::widget([
'dataProvider' => $dataProvider1,
'filterModel' => $searchModel1,
'columns' => $this->context->columnDefaultList($parm1),
]); ?>
<hr class="page_separator"/>
<?= GridView::widget([
'dataProvider' => $dataProvider2,
'filterModel' => $searchModel2,
'columns' => $this->context->columnDefaultList($Parm2),
]); ?>