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

Grouping on more levels

1 Answer 117 Views
ListView
This is a migrated thread and some comments may be shown as answers.
kim
Top achievements
Rank 1
kim asked on 07 Oct 2011, 08:11 AM
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,

Kim

1 Answer, 1 is accepted

Sort by
0
Ivan Todorov
Telerik team
answered on 10 Oct 2011, 08:39 AM
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.

Regards,
Ivan Todorov
the Telerik team

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

Tags
ListView
Asked by
kim
Top achievements
Rank 1
Answers by
Ivan Todorov
Telerik team
Share this question
or