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.

collapse nested child tables in GGC

Thread ID:





38479 Dec 13,2005 06:11 PM Dec 13,2005 06:40 PM Windows Forms 1
Tags: GridControl
Nancy Jan
Asked On December 13, 2005 06:11 PM

Hi, In a GGC, I defined two tables nested below the top level. When user clicks the + sign to view details from top level record, I want the nested records to default to collapsed. How do I do this? Thanks, NJ

Administrator [Syncfusion]
Replied On December 13, 2005 06:40 PM

Try handling the RecordExpanded event and closing the tables at that point.
private void gridGroupingControl1_RecordExpanded(object sender, RecordEventArgs e)
	Record r = e.Record;
	if (r != null && r.NestedTables.Count > 1 )
		r.NestedTables[0].IsExpanded = false;
		r.NestedTables[1].IsExpanded = false;


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.