Telerik RadGrid supports hierarchical representation of the related data tables (DataSet).

Master Table
Telerik RadGrid introduces a new approach to hierarchical data structures. The innovation in Telerik RadGrid is the so called MasterTableView. This is the topmost table of the hierarchical structure. It is a GridTableView with GridTableViewCollection. The collection holds the so called DetailTables - tables related to the fields of the MasterTable. Each DetailTable can have its own GridTableViewCollection with other DetailTables, thus forming the hierarchical structure.
 |
Note: There is only one MasterTable for a single Telerik RadGrid. This is the topmost table. All children tables are referred to as DetailTables regardless of whether they have related (child) tables or not. |
You can look at the MasterTable as the Root of the hierarchical tree. All tables underneath will be the tree nodes. The MasterTable has its own section of properties in Visual Studio:

Detail Tables
Detail tables are the inner tables of the grid. They are related to a field in their parent table. The relation between the parent table (MasterTableView or other Detail table) and the child table is set in the ParentTableRelation collection. It has two members: MasterKeyField and DetailKeyField which define the name of the relation field in the parent and child data source tables.
Each DetailTable is placed in an Item (row) of its parent table. This special item is called NestedViewItem.

 |
You can have all tables that have child tables in your grid expanded after each postback by setting the HierarchyDefaultExpanded property of the grid MasterTableView to true. |
Telerik RadGrid allows each table to have its own appearance options (header, footer, paging, etc). See RadGrid and MasterTableView difference topic for more details.
See Also