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

How to implement custom sorting in Virtual Mode?

1 Answer 38 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Dawid
Top achievements
Rank 1
Dawid asked on 24 Nov 2011, 11:47 AM
     I know that in virtual mode automatic sorting is dosn't supported. But I have to implemented custom sorting.
 Anybody know how resolve this problem ?

1 Answer, 1 is accepted

Sort by
0
Julian Benkov
Telerik team
answered on 29 Nov 2011, 12:47 PM
Hello Dawid,

Indeed, RadGridView does not support filtering, sorting, and grouping in Virtual Mode. Only the UI and descriptor collections are updated. 

You can use SortChanged event to implement you logic for virtual mode. The event notifies for a change in the related SortDescriptor collection and sends updates to RadGridView UI to fire CellValueNeeded event to fill again the displayed cells in the current grid view.

Best wishes,
Julian Benkov
the Telerik team

Q3’11 of RadControls for WinForms is available for download (see what's new). Get it today.

Tags
GridView
Asked by
Dawid
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
Share this question
or