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.

Commit changes

Thread ID:





10367 Jan 29,2004 11:17 PM Jan 30,2004 01:50 AM Windows Forms 2
Tags: GridControl
Administrator [Syncfusion]
Asked On January 29, 2004 11:17 PM

I have an order entry grid (GridDataBoundGrid) where several cells on each line determine the line value total. The line value total column is a calculated DataColumn. I have been using grid.CommitChanges() to automatically update the line total when these values change, but this seems to interfere with my current cell activation style which is to select all text. When I call CommitChanges, select all text seems to stop working. Is there an alternative to CommitChanges I could use? Tim.

Administrator [Syncfusion]
Replied On January 30, 2004 01:40 AM

You can use grid.CurrentCell.ConfirmChanges to save the changes on the currentcell. Additionally, you can call grid.Binder.EndEdit to flush all the changes on the current row to the datatable (essentially doing a CurrencyManager.EndEdit call on the current object).

Administrator [Syncfusion]
Replied On January 30, 2004 01:50 AM

Clay, That''s perfect. Thanks, Tim.


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.