onAfterEditStop
fires after the edit operation is finished
void onAfterEditStop(object state,object editor,boolean ignoreUpdate);
object | an object with 2 properties: 'value' - the new value of the cell, 'old' - the old value of the cell | | editor |
object | the editor object | | ignoreUpdate |
boolean | indicates whether the cell was updated after editing |
Example
some.attachEvent("onAfterEditStop", function(state, editor, ignoreUpdate){
if(state.value != state.old){
webix.message("Cell value was changed")
}
});
Details
The value of the ignoreUpdate parameter depends on the way of editor closing.
When the editor closes with the editStop method, the record is updated,
while the editCancel method doesn't save changes before closing the editor.
See also
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support,
connect with other developers, and share your feedback there.