Hi,
I am trying to bind a datatable [which has parent child relations ] to wingrid. But I am not able to see the difference in row depths when grid is displayed..The parent row and its child rows are displayed on same level.
As I am new to this control, really appreciate a link explains how to display parent-child rows in grid from a single datatable.
Thanks!!
You can't display parent and child rows in a single DataTable. The DataTable class is a single flat table.
In order to display hierarchical data in the grid, you need a hierarhical data source. If you are using DataTables, then you probably want to use a DataSet with 2 or more tables and use the RelationShips to create a hierarachy between the tables.