This sample illustrates the display of a hierarchical grid with tree lines and indented text in the first column. To achieve this, you must set the GridDataBoundGrid.ShowTreeLines property to true.
Features
Set ShowTreeLines property to true.
There is no separate column allotted for the + / - buttons. Instead, the text will be indented in the first column. Check the No Gridlines option to see this behavior.
Headers can be hidden by setting the Properties.RowHeaders to false.
Colors for different hierarchies can be set using RowStyle.BackColor of the GridHierarchyLevel class.
Borders can be set through Model.Options.DefaultGridBorderStyle. Note that the border setting will not take effect when ShowTreeLines property is set.