When sorting is enabled for a virtualized Grid with local data, in some cases the Grid does not show correct items when sorted.
1, Open the Dojo example
2. Scroll to the bottom
3. Sort the Grid
Only the last 3 items are displayed. (screencast)
Note: The issue does not occur every time.
Enough items to fill the Grid height should be displayed. There should be no blank space without records.
Hi,
I also replied in the related forum thread, but for convenience, here is my reply below as well:
I reviewed the information and example provided in the Bug Report issue.
In the example test.html, I noticed that the serverPaging and serverSorting are enabled. However, there is no related code when returning the result in the read function that will handle the sorting scenario. Note that when the serverSorting is enabled, the sorting should be performed on the server.
Regarding the scenario with the modified Demo - I tested the example and tried to replicate the issue following the provided video. However, the issue is not reproduced on my side. Here is a screencast demonstrating the behavior on my end. Could you please let me know if I am missing something?
Looking forward to your reply.
Regards,
Neli
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer, and each of you can get a $50 Amazon gift voucher.
The issue that I reported in the original post still exists. Can you please take a look?
There are some sample and screen recordings in my attached zip file:
test.html - Use grid to display 13 items with virtual scroll, page size is 10.
test.html.mp4 - Run test.html in browser. Scroll grid to bottom. Click grid column header to sort. Only 3 items show.
onlinedemo.mp4 - I tested your online demo. I changed the page size to 113. Scroll to grid bottom. Click column header to sort several times. The grid doesn't display the last page of items while the scrollbar is at the bottom.