I am looking for a low-cost/no costWPF DataGrid. which can display heirachical data. Does the DataGrid included in the WPFToolKit support heirachical data display?
What do you mean by 'supports hierarchical data' ?
If it is simply a master / detail view, take a look at this:
The WPF DataGrid also has the concept of RowDetails:
You can nest whatever content you like within the row details. You could, for example nest a DataGrid within there, allowing you to drill-down on the current row.
http://www.scottlogic.co.uk/blog/wpf/ - my WPF blog
http://www.codeproject.com/KB/WPF/WPFDataGridExamples.aspx - WPF DataGrid Practical Examples
Hi Colin. I have a nested object heirarchy that could be multiple leves deep. The separate master/detail grids are not what my functional folks are looking for.
Here is a pseudo-code example of an object heirachy:
When I retrieve an observableCollection of Customers, each customer object has a collection of orders...each order has a collection of order details.
When I bind the customer collection to the grid, I want to see expandable/nested order rows...and subsequently, each order row should house a nested set of detail rows.
Here is a link to an XAMDataGrid example:
It looks like the concept of RowDetails may work. There doesn't seem to be much documentation on this grid though I would prefer to stay straight M$.
Using the RowDetail approach, would I be able to do the following
- Edit all different levels
- Trigger IDataErrorInfo
Appreciate your help with this!