onItemCheck

fires when you check an item in tree and treetable

void onItemCheck(id id,boolean state,Event e);
ididthe ID of the related item
statebooleandefines the checked/unchecked state of a checkbox
eEventa native event object (absent when the threeState property is enabled)

Example

some.attachEvent("onItemCheck", function(id, state, e){
    //... some code here ... 
});

Related samples

See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix javascript ui library and page of javascript tree table product.