Articles in this section
Category / Section

How to access the ChildTableDescriptor while using Hierarchial data?

1 min read

 

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)
Please sign in to leave a comment
Access denied
Access denied