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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Auto Collapse

Thread ID:





14458 May 27,2004 11:06 AM UTC May 28,2004 10:47 AM UTC WinForms 1
Tags: Grouping
Gregg Reed
Asked On May 27, 2004 11:06 AM UTC

When I launch grouping grids sometimes some groupings are expanded and sometime all are collapsed. Is there anyway to programmatically collapse all or collapse all then expand one particular grouping.

Administrator [Syncfusion]
Replied On May 28, 2004 10:47 AM UTC

Following code searches for the group that matches the category "Germany" and expands that group. Before the expansion of that one group, all groups are collapsed. Try the code with the "Grid\Samples\Grouping\GroupCustomers" example. this.groupingGrid1.Table.CollapseAllGroups(); GridGroup group = (GridGroup) this.groupingGrid1.Table.TopLevelGroup.Groups["Germany"]; group.IsExpanded = true; Stefan


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

Live Chat Icon For mobile
Live Chat Icon