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.

Auto Collapse

Thread ID:

Created:

Updated:

Platform:

Replies:

14458 May 27,2004 07:06 AM May 28,2004 06:47 AM Windows Forms 1
loading
Tags: Grouping
Gregg Reed
Asked On May 27, 2004 07:06 AM

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 06:47 AM

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

CONFIRMATION

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.

;