Specific API Reference
Kanban board is a view based on Layout and DataStore, and it supports their methods, properties and events. However, Kanban has two specific methods:
- getOwnerList - gets the list that displays an item
- eachList - calls a function for each list in Kanban board
getOwnerList
Returns the KanbanList view that displays an item
var list = $$("myBoard").getOwnerList("task1");
parameters:
- itemId - {string} the ID of the item
eachList
Iterates over all lists in Kanban and calls a function for each of them
$$("myBoard").eachList(function(list,status){
if (list){
list.define("type","edit");
list.render();
}
});
parameters:
- function - a function that is called for each Kanban list; it takes two arguments:
- list - the KanbanList object
- status - the status of the list
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
mvc library and page of
kanban board product.