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. Image for the cookie policy date

Commit changes

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.

2 Replies

AD Administrator Syncfusion Team January 30, 2004 06:40 AM UTC

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).


AD Administrator Syncfusion Team January 30, 2004 06:50 AM UTC

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

Loader.
Live Chat Icon For mobile
Up arrow icon