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

Edit or insert row - how to force it to be saved?

Thread ID:





96481 Sep 15,2010 06:14 PM UTC Sep 17,2010 07:21 AM UTC WinForms 1
Tags: GridControl
David Mecteaux
Asked On September 15, 2010 06:14 PM UTC


I have a GridGroupingControl grid which allows the user to edit rows and to use the insertion row. There is a button on this form that will save any changes back to the database. However I have noticed that when you are editing a row (or if the user is in the insertion row and making changes) that the changes won't be saved. How can I force the grid to do this?

Jisha Joy [Syncfusion]
Replied On September 17, 2010 07:21 AM UTC

Hi David,

In the GridGroupingControl, the cells are saved recordwise. That is, the cells do not reflect any changes to the datasource unless, the cells move to next record or the record is EndEdited. For manually EndEditing the record when the cells is edited by handling the RecordValueChanged event. The code snippet is as follows.

void ggc_RecordValueChanged(object sender, RecordValueChangedEventArgs e)





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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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