onBeforeEditorShow

fires before the Kanban editor is opened

void onBeforeEditorShow(object editor,object obj){ ... };

Parameters

editorobjectthe view object of the editor
objobjectan item data object

Example

webix.ui({
    view:"kanban",
    on:{
        onBeforeEditorShow:(editor,obj) => {
            if (obj.status !== "admin"){
                webix.message("Insufficient access rights","warning");
                return false;
            }
        }
    }
});

Related samples

See also
Back to top