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

Force a cell to get out of edit mode when user selects a button

Thread ID:





97489 Dec 1,2010 09:17 PM UTC Dec 2,2010 12:37 PM UTC WinForms 1
Tags: GridControl
David Mecteaux
Asked On December 1, 2010 09:17 PM UTC


I have this occurring:

The user edits the contents of a cell and then pushes a button which goes to the next part of a wizard form. The last edited cell is not properly saved since it was still in edit mode. How can you force it to be saved?

Nirmal Raja [Syncfusion]
Replied On December 2, 2010 12:37 PM UTC

Hi David,

Please try to call EndEdit method which will update the finally edited cell, and does not moves away from the cell.

If you use GridControl, then you can directly call the EndEdit for the CurrentCell. If you use the GridDataBoundGrid, the EndEdit will be effective only when you use it to the Binder object. And for the GridGroupingControl please make use of the Table object to update the cell.

Please refer the code below:



Let me know if you have any queries.



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