Premium support for our pure JavaScript UI components
Hi,
We are trying to use the AjaxStore for loading the data of a grid (version 5.1.0). The fetch action was going in a infinite loop while getting the data. After we set the 'autoLoad' to false the infinite loop while fetching data was resolved, however filtering or sorting the grid still ends up in a loop. Any thoughts on this one?
Can you please share a test case so we can reproduce what you are seeing?
Hi Nualis,
Grouping doesn't support by our PHP server in that example. It's very basic implementation with only base functionality to demonstrate how to integrate a real back-end.
In case autoLoad
used and incorrect data returned, it tries to sync again to apply grouping (or whatever you'll need) until server returned correct results (apply requested state).
In case of loop on data fetching as you described in your original post - that may be a bug.
Could you please provide more details to reproduce the originally reported issue? And please check if you returned correct data with all params depends on what features you used.
We will discuss if we need to change that behaviour and stop fetching in a loop for such cases. I will back with the answer shortly.
Hi Nualis,
The ticket 've got high-prio label. We can't say exactly, but high-prio means it will be fixed in nearest releases, very possible in 5.1.4 version. 1-3 weeks.
Hi Alex,
We saw that the issue was fixed in the 5.2.0-alpha-1version. We did some testing and the loading, sorting and pagination works! The only thing not working properly is the filtering, which continues to loop. It gets the correct results from the backend, displays them, than keeps on sending the same request over and over.
Can you please have a look at the filtering also?
Will there be also a 5.1.4 version with this fix or only a stable 5.2.0 version? Any ideas about the release date of 5.2.0 when that is the only version with this fix?
Regards,
Hans Meijer
Hi,
I've tested in the alpha version. I tried filtering a column but I'm not able to reproduce it. Could you please provide the steps to reproduce it?
-
Attachments
-
- chrome_g1pHwgMMz2.gif (355.16 KiB) Viewed 515 times
Hi,
We tested with v.5.1.4 and v5.2.0-beta-1 and the filtering with the endless loop has been resolved. However, the pagination does not work anymore. When click on the 'next page arrow' the grid does not update. The backend api is called, the page number is changed, but the data in the grid stays the same.
And if you remove the filter (using the filterbar) after you typed in a filter phrase, there is the following error:
- Error.png (39.85 KiB) Viewed 473 times
Can you please have a look?