How to implement custom sorting in Virtual Mode?

2 posts, 0 answers
  1. Dawid
    Dawid avatar
    9 posts
    Member since:
    Dec 2008

    Posted 24 Nov 2011 Link to this post

         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 ?
  2. Julian Benkov
    Julian Benkov avatar
    1135 posts

    Posted 29 Nov 2011 Link to this post

    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.

  3. DevCraft R3 2016 release webinar banner
Back to Top