This is a migrated thread and some comments may be shown as answers.

load icon after grid.pageTo

0 Answers 32 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ben
Top achievements
Rank 1
Ben asked on 08 Oct 2012, 11:19 AM
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
Tags
Grid
Asked by
Ben
Top achievements
Rank 1
Share this question
or