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

Persist Expanded Group Levels

Thread ID:





29909 Jun 7,2005 05:40 AM UTC Jun 7,2005 09:12 AM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On June 7, 2005 05:40 AM UTC

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 09:12 AM UTC

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.


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