Completed
Last Updated: 16 Dec 2025 07:03 by ADMIN
Release 2022.R1.SP.next
changcheng
Created on: 09 Jul 2021 14:03
Category: Grid
Type: Bug Report
2
Grid with local data and virtualization does not show correct items when sorted

Bug report

When sorting is enabled for a virtualized Grid with local data, in some cases the Grid does not show correct items when sorted.

Reproduction of the problem

1, Open the Dojo example
2. Scroll to the bottom
3. Sort the Grid

Current behavior

Only the last 3 items are displayed. (screencast)

Note: The issue does not occur every time.

Expected/desired behavior

Enough items to fill the Grid height should be displayed. There should be no blank space without records.

Environment

  • Kendo UI version: 2021.2.616
  • Browser: [all ]
2 comments
ADMIN
Neli
Posted on: 16 Dec 2025 07:03

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.

changcheng
Posted on: 09 Dec 2025 08:06

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.

 

Attached Files: