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
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.
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.