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.

GridGroupingControl - update DataRow when cell edit complete

Thread ID:





90399 Sep 29,2009 03:06 PM Sep 30,2009 09:25 AM Windows Forms 1
Tags: GridControl
Sergey Merkuriev
Asked On September 29, 2009 03:06 PM

How to update DataRow (commit changes in the grid) when GridGroupingControl cell edit complete?

GridGroupingControl by default commit changes to the DataRow when user click on other record or leave GridGroupingControl.

Lingaraj S [Syncfusion]
Replied On September 30, 2009 09:25 AM

Hi Sergey,

Thank you for your interest in Syncfusion products.

Please try using Table.EndEdit method in TableControlCurrentCellAcceptedChanges event to achieve your requirement.

Refer the code below:

****************C# CODE**************************
this.gridGroupingControl1.TableControlCurrentCellAcceptedChanges += new GridTableControlCancelEventHandler(gridGroupingControl1_TableControlCurrentCellAcceptedChanges);
void gridGroupingControl1_TableControlCurrentCellAcceptedChanges(object sender, GridTableControlCancelEventArgs e)
****************VB CODE**************************
AddHandler gridGroupingControl1.TableControlCurrentCellAcceptedChanges, AddressOf gridGroupingControl1_TableControlCurrentCellAcceptedChanges
Private Sub gridGroupingControl1_TableControlCurrentCellAcceptedChanges(ByVal sender As Object, ByVal e As GridTableControlCancelEventArgs)
End Sub

Please let me know if you have any queries.

Lingaraj S.


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.