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
close icon

GGC: Reloading Table collapses groups

Hi!

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?


Regards
Falk

1 Reply

SA Saravanan A Syncfusion Team October 11, 2007 03:39 AM UTC

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.

Regards,
Saravanan

Loader.
Live Chat Icon For mobile
Up arrow icon