开发者

CollectionViewSource - uneven grouping

开发者 https://www.devze.com 2022-12-22 17:09 出处:网络
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\" grou

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!


Sounds like you need to use a TreeView and HierarchicalDataTemplate?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号