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

Dynamic groups based on the number of items

1 Answer 28 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.
Fela
Top achievements
Rank 1
Fela asked on 29 Apr 2013, 01:06 AM
I need to show groups only when the elements of the jumplist are more than 20, like the list of applications of windows phone. How can I achieve this? I tried in different ways but the order of the items is always incorrect (see picture). Thanks for the help

Photo: http://i.imgur.com/2KLdzca.png

1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 02 May 2013, 07:57 AM
Hello Fela,

Thank you for writing.

In order to create the Grouping, you need to set a GroupDescriptor. If you want to add the groups only if there are more than 20 items, you can easily achieve this by adding a descriptor, only if RadJumpList's ItemCount property has a value of over 20. In order to sort the items, you need to add a SortDescriptor as well. You can have a look at the Examples solution that we provide along with RadControls' installation. It is usually located at C:\Program Files (x86)\Telerik\RadControls for Windows Phone [Version]\Examples. There you will find the PhoneBook example, which demonstrates the use of both Group and Sort Descriptors.

I hope this information helps.

Regards,
Todor
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Tags
JumpList
Asked by
Fela
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or