Articles in this section

How to access the ChildTableDescriptor while using Hierarchial data?

 

The ChildTableDescriptor is the TableDescriptor that describes the Child Table. This can be accessed by TableDescriptors Relations property. Please refer the below code snippet which illustrates this:

C#

((GridTableDescriptor)this.GridGroupingControl1.TableDescriptor.Relations[0].ChildTableDescriptor).Columns.FindByMappingName("Name").HeaderText = "ChildName";

VB

CType(Me.GridGroupingControl1.TableDescriptor.Relations(0).ChildTableDescriptor, GridTableDescriptor).Columns.FindByMappingName("Name").HeaderText = "ChildName"

Sample:

http://help.syncfusion.com/support/samples/kb/Grid.Web/6.1.0.34/GGCChildDesc/ChildDesc.zip

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied