Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2387
HOWTO: CommitEdit() on cell edit?
posted

I have a data grid where the only editable column is a checkbox.  DataBinding is being used to a custom collection of custom objects.  The custom collection/objects are wired up to fire events when the state changes on the one Property that is bound to the checkbox column which changes the state of other controls on the form.

The problem is that the custom object doesn't get the property set until after the user clicks OFF of the row they just changed.  In WinForms I simply hook the CurrentCellDirtyStateChanged event and call CommitEdit() on the DataGrid to force the change to take immediate effect.  

How would I do that with the xamDataGrid?

Sam