Check documentation for the latest version of dhtmlxSuite onBeforeEditStart DHTMLX Docs

onBeforeEditStart

fires before the editing process is initialized

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

Example

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

Details

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

Back to top