Column SortState clearing when RadDomainDataSource loads

3 posts, 1 answers
  1. Benjamin
    Benjamin avatar
    3 posts
    Member since:
    Jul 2010

    Posted 02 Nov 2011 Link to this post

    I am doing some custom sorting on a RadGridView using a RadDomainDataSource.  The sort uses multiple sort descriptors in order to create an OrderBy, ThenBy sort.  The sorting works fine, but when the RDDS loads the data, the sort state on the column is reset (I'm guessing because it's seeing multiple sort descriptors) and the sort state goes to None.  Is there a way to override the default behavior so that it will keep the sort state after a data load?
  2. Answer
    Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 04 Nov 2011 Link to this post

    Hi,

     Can you try to set IsCustomSortingEnabled to true for this column to see what will be the result?

    Best wishes,
    Vlad
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. Benjamin
    Benjamin avatar
    3 posts
    Member since:
    Jul 2010

    Posted 04 Nov 2011 Link to this post

    Looks like that worked.  Thanks for your help!
Back to Top