fires when the user clicks Save/Remove buttons in the Kanban editor
action | string | "remove" or "save" |
editor | object | the Editor object |
obj | object | the data item object |
$$("kanban").attachEvent("onBeforeEditorAction",function(action,editor,data){
if (action === "save" && !editor.getForm().validate()){
return false;
}
});
The event is handy if you add validation for your custom editor.