This question is locked. New answers and comments are not allowed.
I have a pageable grid, this all works perfectly. All data is shown correctly. Above the grid I have some filters the user can fill in those filters and than he can press the search button. Here is where the problem shows, I set the correct data in the grid using
grid.ajaxRequest();
This works fine but the problem was that when I was for example looking at page 10 and I would adjust the filter, the grid would stay on page 10 instead of going back to the first page.
In order to go back to the first page I did grid.pageTo(1). This works, the problem however is that when I do this sometimes the loading icon doesn't change to the icon when the grid is loaded. If I press the icon, or press on a filter, change page or whatever the icon is displayed correctly.
Anybody has an idea on what to do? Help would be greatly appreciated
grid.ajaxRequest();
This works fine but the problem was that when I was for example looking at page 10 and I would adjust the filter, the grid would stay on page 10 instead of going back to the first page.
In order to go back to the first page I did grid.pageTo(1). This works, the problem however is that when I do this sometimes the loading icon doesn't change to the icon when the grid is loaded. If I press the icon, or press on a filter, change page or whatever the icon is displayed correctly.
Anybody has an idea on what to do? Help would be greatly appreciated