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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

collapse nested child tables in GGC

Thread ID:





38479 Dec 13,2005 11:11 PM UTC Dec 13,2005 11:40 PM UTC WinForms 1
Tags: GridControl
Nancy Jan
Asked On December 13, 2005 11:11 PM UTC

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 11:40 PM UTC

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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