two gridview on one View page

gm all,

I have two gridview on one page.

one is country and below that city grid.

now when i change pagination of country grid, simultaneously pagination of city grid is also vary.

nyone please help me in this.


rups g

You can change the parameter name for the pages for one of the grids. I.e. add this option to data provider

'pagination' => [

    'pageParam' => 'page2',


many thanx. it works.