GridView Pagination in other view

I have problem with pagination in grid view. I have grid view that is loaded with $this->render in another view. Problem is when I change page in that grid view it returns me an empty array. Bu after page reload it returns me correct data. When I set route parameter in my dataProvider, problem is that pagination is working but main URL in browser is changed to that route.

Thanks in advance.

1 Like