onAfterEditStop

fires after the edit operation is finished

void onAfterEditStop(object state,object editor,boolean ignoreUpdate);
stateobjectan object with 2 properties: 'value' - the new value of the cell,
'old' - the old value of the cell
editorobjectthe editor object
ignoreUpdatebooleanindicates 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