Check documentation for the latest version of dhtmlxSuite onBeforeEditStop DHTMLX Docs

onBeforeEditStop

fires before editor closing is initialized

boolean onBeforeEditStop(string|number id){ ... };

Parameters

idstring|numberid of the item

Returns

booleantrue - to trigger the default action, false - to block it

Example

myDataView.attachEvent("onBeforeEditStop", function (id){
    // your code here
    return true;
});

Details

The event is blockable, returning false will block the default action.

Back to top