Check documentation for the latest version of dhtmlxSuite onBeforeEditStop DHTMLX Docs

onBeforeEditStop

fires before editor closing is initialized

boolean onBeforeEditStop(string|number id);
idstring|numberid of the item
booleantrue - to trigger the default action, false - to block it

Example

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

Details

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

Back to top