We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

How to get access to nested tables ?

Hello ! How to get access to nested tables ? From GridGroupingControl at runtime.

1 Reply

AD Administrator Syncfusion Team April 23, 2004 12:18 PM UTC

You can get access to a nested table inside a record as follows: NestedTable nt = groupingGrid.Table.Records[n].NestedTables[0]; whereas n is the specific record that owns the nested table. NestedTable has a ChildTable property. ChildTable ct = nt.ChildTable; To get access to a specific record in that child table you can then call Record recordInNestedTable = ct.Records[0]; or Record recordInNestedTable = ct.FilteredRecords[0]; If you need access to the TableDescriptor for a nested relation, you can call GridTableDescriptor td = this.gridGroupingControl1.TableDescriptor.Relations[0].ChildTableDescriptor; Let me know if you have other questions. Thanks, Stefan

Live Chat Icon For mobile
Up arrow icon