Grouping on more levels

2 posts, 0 answers
  1. kim
    kim avatar
    3 posts
    Member since:
    Mar 2009

    Posted 07 Oct 2011 Link to this post

    If we add more GroupDescriptors to the collection. Only the first group will be displayed. 

    This is our code :

    var descriptor1 = new GroupDescriptor(new[]{ new SortDescriptor("Country", ListSortDirection.Ascending) });
    var descriptor2 = new GroupDescriptor(new[]{ new SortDescriptor("User", ListSortDirection.Ascending) });
    radListView1.EnableGrouping = true;
    radListView1.ShowGroups = true;
    radListView1.GroupDescriptors.Add(descriptor1 );
    radListView1.GroupDescriptors.Add(descriptor2 );

    Do we still have to do something extra or is this not supported yet?

    Kind regards,

  2. Ivan Todorov
    Ivan Todorov avatar
    688 posts

    Posted 10 Oct 2011 Link to this post

    Hi Kim,

    Thank you for contacting us.

    RadListView stands for displaying flat data structures and it supports only first-level grouping. This is how RadListView is designed and currently, we do not have plans of extending this functionality.

    If you need to display multi-level grouping or some kind of hierarchical data, then you can use either RadGridView or RadTreeView. For more information, you can check the examples in our Demo Application.

    I hope this information is useful. Should you have any additional questions, do not hesitate to contact us.

    Ivan Todorov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top