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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Commit changes

Thread ID:

Created:

Updated:

Platform:

Replies:

10367 Jan 30,2004 04:17 AM UTC Jan 30,2004 06:50 AM UTC WinForms 2
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On January 30, 2004 04:17 AM UTC

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

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

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

CONFIRMATION

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.

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

;