Dynamic groups based on the number of items

Thread is closed for posting
2 posts, 0 answers
  1. Fela
    Fela avatar
    8 posts
    Member since:
    Aug 2010

    Posted 28 Apr 2013 Link to this post

    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
  2. Todor
    Todor avatar
    798 posts

    Posted 02 May 2013 Link to this post

    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.

    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.
Back to Top