onItemCheck

called when the checkbox inside the tree item was checked

void onItemCheck(id id,boolean state);
ididid of related item
statebooleanstate of checkbox

Example

tree.attachEvent("onItemCheck". function(id, state){
    webix.message("Item " + id + " was " + (state? "checked" : "unchecked"));
})

Back to top
If you have not checked yet, be sure to visit site of our main product Webix easy javascript framework and page of treemap visualization product.