Best way to programmatically change filter/sort

Thread is closed for posting
3 posts, 1 answers
  1. Erik
    Erik avatar
    22 posts
    Member since:
    May 2011

    Posted 07 Jul 2011 Link to this post

    I have a jump list where I've set the filter and sort via the XAML. What's the best solution for moving these settings in to the code where I can have UI events set them. An example is having a list of items with names, dates and locations. I want to be able to change this sorting on the fly and have the RadJumpList display it in real time.
  2. Answer
    Deyan avatar
    2147 posts

    Posted 11 Jul 2011 Link to this post

    Hi Erik,

    Thanks for contacting us and for your questions.

    Please, take a look at the help contents available online regarding RadJumpList. You will find useful examples there which demonstrate how you could programmatically modify the GroupDescriptors and SortDescriptors collections to dynamically group and sort the data items in RadJumpList:

    I hope this helps.

    All the best,
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  3. Erik
    Erik avatar
    22 posts
    Member since:
    May 2011

    Posted 12 Jul 2011 Link to this post

    Thanks, this works perfect. I kept it simple and used a basic property.

                    var groupByEvent = new PropertyGroupDescriptor { PropertyName = "EventDate" };
                    var sortByTitle = new PropertySortDescriptor { PropertyName = "Artists" };
    Super easy!
Back to Top