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);
itemId | string | the item id |
status | string | a new item status |
list | object | the list object where the event has happened |
boolean | returning 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