This is a migrated thread and some comments may be shown as answers.

Using List of groups in JumpList?

3 Answers 64 Views
JumpList
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Seznam
Top achievements
Rank 2
Seznam asked on 15 Sep 2014, 02:33 PM
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

3 Answers, 1 is accepted

Sort by
0
Rosy Topchiyska
Telerik team
answered on 18 Sep 2014, 02:16 PM
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.

 
0
Seznam
Top achievements
Rank 2
answered on 18 Sep 2014, 02:27 PM
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
0
Ves
Telerik team
answered on 23 Sep 2014, 06:24 AM
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.

 
Tags
JumpList
Asked by
Seznam
Top achievements
Rank 2
Answers by
Rosy Topchiyska
Telerik team
Seznam
Top achievements
Rank 2
Ves
Telerik team
Share this question
or