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.

GGC: Reloading Table collapses groups

Thread ID:





68715 Sep 28,2007 04:58 AM Oct 10,2007 11:39 PM Windows Forms 1
Tags: GridControl
Asked On September 28, 2007 04:58 AM


Ich have a ggc. The datasource is a List - Collection and the elements are grouped by column1.

Now I reload the DataSource from the database (Clear the elements and Add a new Range). If now one group is missing in the refreshed datasource , I want the ggc to remove this group without collapsing the other groups. But ggc.Table.Reload() collapses all groups.

Is there a way to remove one (ore more) groups without collapsing the others?


Saravanan A [Syncfusion]
Replied On October 10, 2007 11:39 PM

Hi Falk,

There is no direct way to do this, since while reloading the table, GridEngine will get reinitialized and all the previous state will be lost. If you want to maintain the expanded state of the groups while reload, then you would have to store the states of all the groups in a hashtable or an array list before reloading. And then apply those states for the groups after reloading.



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.