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

Expand by one level

Thread ID:





31590 Jul 11,2005 12:20 PM UTC Jul 11,2005 01:11 PM UTC WinForms 1
Tags: GridControl
Catinat Velmourougan
Asked On July 11, 2005 12:20 PM UTC

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

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.

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