Hi
I use a grid to show all items ordered by a customer.
This grid is reloaded with filtered remote data as soon as I select another customer. So far so fine.
The grid uses endless scrolling. Now, if I restrict to 200 records per page and I get 349 records as result, I can scroll to the end as expected and I get all the additional page(s).
But as soon as I've scrolled to the end of the list, the endless scroll feature seems to stop working. Loading the data of a new customer works fine but the grid doesn't scroll beyond record 200 and it doesn't load the next page.
Is there a way to reset the scroll endless behaviour and shouldn't this happen automatically when loading new data by filtering the data source?
Kind regards
Alex
It seems a bit weird as if the scrollable:endless option is removed as soon as the end of data is reached. Why not just check, if the total number of records is fetched and then simply return doing nothing instead of fetching the next page. But not remove the scrollable option!
I am glad to hear you have managed to find a solution to the issue.
It should not be needed to add the scrollable:endless option every time a new data is loaded in the Grid. Here is a small example where the dataSource of the Grid is set using the setDataSource method and the endless scrolling works as expected. In case there are still issues on your side may I ask you to modify the example to replicate the behavior the way it is on your side and send it back? This way we could understand the scenario better and provide further assistance.
Regards,
Neli