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
Configure You Dataprovider as
Dataprovider
$dataprovider1->pagination->pageParam = 'dp1'; $dataprovider1->pagination->pageSizeParam = 'dp1-size'; $dataprovider2->pagination->pageParam = 'dp2'; $dataprovider2->pagination->pageSizeParam = 'dp2-size';