user290397
user290397

Reputation:

CollectionViewSource - uneven grouping

Im using the WPF-Toolkit DataGrid with an CollectionViewSource as Source. With PropertyGroupDescriptions I can create and display groups in the Grid. My problem is that i cannot create "uneven" groups, like:

I want some groups that are deeper than other, and some, that are only elements (C and D) and no groups. I hope it is undestandable...

Has someone an idea to solve this? Thanks!

Upvotes: 0

Views: 418

Answers (1)

Adel Hazzah
Adel Hazzah

Reputation: 8937

Sounds like you need to use a TreeView and HierarchicalDataTemplate?

Upvotes: 1

Related Questions