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.
Unfortunately, activation email could not send to your email. Please try again.

How to get access to nested tables ?

Thread ID:





13228 Apr 23,2004 04:45 AM Apr 23,2004 08:18 AM Windows Forms 1
Tags: Grouping
Administrator [Syncfusion]
Asked On April 23, 2004 04:45 AM

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

Administrator [Syncfusion]
Replied On April 23, 2004 08:18 AM

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


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.