Hi!
I need some support to create a treeview, that is bound to a dataset and hierarchically displays the content in the following way:
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?
Thanks!
I need some support to create a treeview, that is bound to a dataset and hierarchically displays the content in the following way:
Customer 1
Orders (<- Group node)
Order 1
Shipping Notes (<- Group node)
Shipping Note 1
Shipping Note 2
Invoices (<- Group node)
Invoice 1
Order 2
Order 3
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?
Thanks!