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

How to refresh a data source without collapsing expanded groups

I am trying to refresh the data within a GGC, but when I do the row that was changed is not being regrouped on the refresh in the correct location. The data is being updated just not the grouping. To have it regroup I have to collapse all of the groupings. Is there a way to refresh the data with the changed data being re-grouped without collapsing the expanded groups?

1 Reply

LS Lingaraj S Syncfusion Team August 18, 2009 03:01 PM UTC

Hi,

Thank you for using Syncfusion products.

If you want to update the table, when the Record value has been changed in GridGroupingControl, then please try using Table.EndEdit mentioned in TableControlCurrentCellEditingComplete event to achieve this functionality.

Refer the code below:

this.gridGroupingControl1.TableControlCurrentCellEditingComplete += new GridTableControlEventHandler(gridGroupingControl1_TableControlCurrentCellEditingComplete);
void gridGroupingControl1_TableControlCurrentCellEditingComplete(object sender, GridTableControlEventArgs e)
{
gridGroupingControl1.Table.EndEdit();
}


Please let me know if you have any queries.

Regards,
Lingaraj S.

Loader.
Live Chat Icon For mobile
Up arrow icon