How to change itemsource's index when sorted

3 posts, 1 answers
  1. rui
    rui avatar
    34 posts
    Member since:
    May 2014

    Posted 29 Apr Link to this post

    When I click the column header to sort the gridview   the itemsource's index is not change  

    is any way to change the index

  2. Answer
    Stefan Nenchev
    Admin
    Stefan Nenchev avatar
    281 posts

    Posted 29 Apr Link to this post

    Hello,

    When sorting, the ItemsSource collection of the RadGridView remains unchanged. If you want to access the collection of the sorted items, you need to work with the Items collection of the RadGridView. Please check the following article from our documentation page - How To Access Sorted and Filtered Items.

    Regards,
    Stefan Nenchev
    Telerik
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. UI for WPF is Visual Studio 2017 Ready
  4. rui
    rui avatar
    34 posts
    Member since:
    May 2014

    Posted 29 Apr in reply to Stefan Nenchev Link to this post

    thank you!
Back to Top