Using List of groups in JumpList?

4 posts, 0 answers
  1. Martin
    Martin avatar
    18 posts
    Member since:
    May 2014

    Posted 15 Sep 2014 Link to this post

    Hi,
    I have a question, if it's possible to use in RadJumpList custom list of already grouped items (ObservableCollection<IGrouping<string, T>>) instead of just plain list, that is grouped using GroupDescriptors and SortDescriptors?

    The problem is I have a collection with custom sorted items and custom sorted groups, that is incrementally loaded on the background and I am unable to make it work using just GroupDescriptors and SortDescriptors. I'd like to just create in my ViewModel my custom ObservableCollection<IGrouping<string, T>> with already sorted groups and items, that will be just displayed without any sorting or grouping, just like I use in Windows 8.1 GridView or ListView.
    Thanks
  2. Rosy Topchiyska
    Admin
    Rosy Topchiyska avatar
    551 posts

    Posted 18 Sep 2014 Link to this post

    Hello Martin,

    Thank you for contacting us.

    The RadJumpList control does not support such functionality out of the box. My suggestion is to edit the ItemTemplate of the jump list to display the items of the groups in a ListBox or similar control. I have attached a sample project that demonstrates how this can be achieved.

    I hope this helps.

    Regards,
    Rosy Topchiyska
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. DevCraft banner
  4. Martin
    Martin avatar
    18 posts
    Member since:
    May 2014

    Posted 18 Sep 2014 Link to this post

    Ok, in this case I'd like a help - I got list of Episodes, each episode got Order, SeasonName and SeasonOrder.
    I'd like to group these episodes by SeasonName, sort these groups by SeasonOrder and within each group sort the episodes by Order.
    If I use just PropertyGroupDescriptor with SeasonName, then the groups are sorted alphabetically and that is unwanted.
    If I use PropertyGroupDescriptor with SeasonName for grouping and PropertyGroupDescriptor with SeasonOrder for sorting, then episodes within group are sorted randomly.
    How can I achieve the expected result?
    Thanks
  5. Ves
    Admin
    Ves avatar
    2879 posts

    Posted 23 Sep 2014 Link to this post

    Hi Martin,

    I answered a similar question in a support ticket of yours. Please, do let us know which approach you chose and if you need further assistance with Rosy's suggestion in this thread.

    Best regards,
    Ves
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top