WPF: CollectionViewSource - uneven grouping

Posted by Eddy on Stack Overflow See other posts from Stack Overflow or by Eddy
Published on 2010-03-10T10:36:19Z Indexed on 2010/03/11 19:24 UTC
Read the original article Hit count: 325

Hi!

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:

  • A
    • A.A
    • A.B
  • B
    • B.A
    • B.B
      • B.B.A
      • B.B.B
  • C
  • D

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!

© Stack Overflow or respective owner

Related posts about wpf

Related posts about datagrid