onBeforeStatusChange

fires before an item is going to be dropped into the list with a different status

boolean onBeforeStatusChange(string itemId,string status,object list);
itemIdstringthe item id
statusstringa new item status
listobjectthe list object where the event has happened
booleanreturning false will prevent further drag-and-drop processing

Example

$$("myBoard").attachEvent("onBeforeStatusChange", function(itemId,status,list){
    var status = this.getItem(itemId).status;
    if(...){
        return false;
    }
    return true;
});

See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix html5 framework and page of kanban board tool product.