Specific API Reference

Kanban board is a view based on Layout and DataStore and it supports their methods, properties and events. However, there are two specific methods in Kanban:

  • getOwnerList - gets List that displays an item
  • eachList - calls a function for each list in Kanban board

getOwnerList

Method returns 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 them

$$("myBoard").eachList(function(list,status){
    if (list){
        list.define("type","edit");
        list.render();
    } 
});

parameters:

  • function - a function that will be called for each Kanban list, takes two arguments:
    • list - KanbanList object
    • status - the status of the list
Back to top
If you have not checked yet, be sure to visit site of our main product Webix mvc library and page of kanban board product.