How-to: Set properties to the child gridview
Usually, you create the gridview hierarchy by using the TableDefinition and adding it to the ChildTableDefinitions collection of RadGridView.
This article will show how to access and set different properties, in code behind, of the child gridview. Follow the steps below in order to achieve a child gridview which does not have a group panel and does not have auto-generated columns:
- Subscribe to the DataLoading event of the parent gridview
As an alternative, you can use the HierarchyChildTemplate and put RadGridView in its DataTemplate - this way you can set the properties directly to the gridview: