onAfterEditStop

fires after the edit operation is finished

void onAfterEditStop(object state,object editor,boolean ignoreUpdate){ ... };

Parameters

stateobjectan object with 2 properties: 'value' - the new value of the cell,
'old' - the old value of the cell
editorobjectthe editor's 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
If you have not checked yet, be sure to visit site of our main product Webix javascript ui library and page of datatable product.