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

How to refresh a data source without collapsing expanded groups

Thread ID:

Created:

Updated:

Platform:

Replies:

88921 Aug 14,2009 01:46 PM UTC Aug 18,2009 03:01 PM UTC WinForms 1
loading
Tags: GridControl
Joshua
Asked On August 14, 2009 01:46 PM UTC

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?

Lingaraj S [Syncfusion]
Replied On 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.

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.

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

;