Sorting event not fired on load

3 posts, 1 answers
  1. Scott Waye
    Scott Waye avatar
    111 posts
    Member since:
    Nov 2009

    Posted 28 Apr Link to this post

    Hi,

    I need to do some non trivial custom sorting that can't be done with other methods so I'm looking at the Sorting event.  However its not fired when the grid is bound so the data initially is appearing unsorted.  Is there a way to get the sorting event to fire when the initial ItemsSource is loaded?

  2. Answer
    Yoan
    Admin
    Yoan avatar
    1066 posts

    Posted 28 Apr Link to this post

    Hi,

    The Sorting event will be raised when the end user is sorting RadGridView through the UI (i.e. he/she clicks on column's header). I believe that you need to sort RadGridView programmatically. If this is the case, I would suggest you to check this help article.

    Regards,
    Yoan
    Telerik
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. DevCraft banner
  4. Scott Waye
    Scott Waye avatar
    111 posts
    Member since:
    Nov 2009

    Posted 28 Apr in reply to Yoan Link to this post

    I see, then that event is not going to help me.  Thanks
Back to Top