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.

Persist Expanded Group Levels

Thread ID:

Created:

Updated:

Platform:

Replies:

29909 Jun 7,2005 01:40 AM Jun 7,2005 05:12 AM Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On June 7, 2005 01:40 AM

Hi, I have a grouping grid, in which I frequently switch from having groups, to having no groups, and back again. What I need to do is persist the state of what was last expanded so, when I switch back to having groups, the same levels are still expanded. Is there any way of doing this, or am I going to have to do the hard yards and do it all manually

Administrator [Syncfusion]
Replied On June 7, 2005 05:12 AM

I think you will have to handle this yourself. Doing this for a single grouped column at a time (no nested groups) is probably a modest stroll instead of hard yards. You could iterate through the collection of groups and save a list of the ones that are expanded. Here is a little sample. http://www.syncfusion.com/Support/user/uploads/GGC_PersistGroupExpansion_47066060.zip But to handle this for arbitrary nested groups will require you to turn this into a recursive algorithm which adds some complexity.

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.

;