This example shows the advanced hierarchy model of Telerik RadGrid dealing with Insert/Update/Delete automatic operations. A
three level hierarchy is demonstrated with
Customer Master Table and
two nested Detail Tables
Orders and
OrderDetails.
Note that hierarchical structure is not supported with simple data-binding
(calling DataBind()). See the
Simple data binding demo from the
Populating with
data section for more info about the limitations of this binding mode.
Further information about the nature of the declarative relations you can find here:
Declarative relations
Note that in case of insert operation in detail table, an additional step should be performed -- the DataSource insert parameters are updated in Grid InsertCommand. The approach is demonstrated in the following Code Library entry:
Automatic Operations in hierarchy with SQL Data Source