AD
Administrator
Syncfusion Team
February 12, 2003 04:27 PM UTC
There is no such thing as a CancelEdit event fired.
What gets raised instead is a Binder.EditModeChanged event after the record has been restored. However, this same event is also raised when you start editing or when the record is saved. But, if you add some additional logic in your code you should be able to detect if the row was canceled. You could for example see if RowSaved was called before EditModeChanged. If this is not the case and IsEditing is false then the row was canceled.
I'll make a note that a CancelRow event should be added in a future version.
Stefan