I need some support to create a treeview, that is bound to a dataset and hierarchically displays the content in the following way:
Orders (<- Group node)
Shipping Notes (<- Group node)
Shipping Note 1
Shipping Note 2
Invoices (<- Group node)
In the underlying relational structure are the four datatables "customer", "orders", "shipping notes" and "invoices" with parent-child relationships between "customer" - "orders", "orders" - "shipping notes" and "orders" - "invoices". The dataset structure corresponds to the database structure, so I'm not able to change it.
I tried to extend the basic grouping example from Valentin Stoychev using a CollectionViewSource, but i was not able to combine them.
Can you give me a hint how get it to work?