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

Is Grid Sorting Supported in Virtualization mode?

1 Answer 70 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
James
Top achievements
Rank 1
James asked on 20 Aug 2019, 09:38 PM

We are having problems getting it to work correctly.  Just sort a column in our sample and you will see that scrolling stops working.

https://stackblitz.com/edit/react-a9uvzy

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 21 Aug 2019, 07:16 AM
Hello, James,

Yes this is supported.

I can suggest separating the paging and the sorting using the two different events.

The main idea is that the onDataStateChange will be fired when scrolling which will lead to sorting the 50000 items every time which can be slower.

I have updated the provided example to showcase this:

https://stackblitz.com/edit/react-a9uvzy-trj14l?file=app/main.jsx

Regards,
Stefan
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
James
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or