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.
Syncfusion Feedback

Get Nested Table control

Thread ID:

Created:

Updated:

Platform:

Replies:

88805 Aug 12,2009 09:59 AM Aug 14,2009 07:12 AM Windows Forms 1
loading
Tags: GridControl
Karl-Michael Beck
Asked On August 12, 2009 09:59 AM

Hello,

i have a GridGroupingControl with a relation displayed.

I want to access the tablecontrol that is displayed to show the detail records.

How can i do this?

Thank You,
Karl-Michael

PS:
Besode I wanted to know wether it is possible to enable grouping in these child-tables

Rajadurai C [Syncfusion]
Replied On August 14, 2009 07:12 AM

Hi Karl,

Thanks for your interest in Syncfusion Products.

The tablecontrol of a table can be retrieved through its name through the following code.

GridTableControl tc = this.gridGroupingControl1.GetTableControl("MyChildTable");

Through this object, you can implement any settings for that particular table.

For grouping, each table must have its own groupdroparea. By default, the groupdroparea get added to grid only for the main table. For child tables, it has to be added explicitly with the following code.

this.gridGroupingControl1.AddGroupDropArea("MyChildTable");

Here is a minimal sample for your reference in which these were illustrated.
http://files.syncfusion.com/support/samples/Grid.Windows/7.3.0.20/F88805.zip

Regards,
Rajadurai

CONFIRMATION

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.

Warning Icon 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.Close Icon

;