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.

Expand by one level

Thread ID:





31590 Jul 11,2005 08:20 AM Jul 11,2005 09:11 AM Windows Forms 1
Tags: GridControl
Catinat Velmourougan
Asked On July 11, 2005 08:20 AM

hi The expandall function expands untill the records are seen.I want to expand by only one level , for ex, expand all: grp1 grp2 rec expand to one level: grp1 grp2 How to do it?

Administrator [Syncfusion]
Replied On July 11, 2005 09:11 AM

Try setting the Group.IsExpanded property. Here is code that expands one level of groups from a button handler.
private void button1_Click(object sender, System.EventArgs e)

private void ExpandOneLevelGroups(ChildTable parent)
	foreach(Group g in parent.Groups)
		g.IsExpanded = true;


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.