Tree - Click in Checkbox inherit to child

I’d would like that when i click a prent (checkbox) all childs get that state too. Is this possible? or i need enableSmartCheckboxes in professional version? Thanks


If you’ve obtained PRO edition, you can use enableSmartCheckboxes method.


In case of STD edition you can set onCheck event handler:


tree.attachEvent(“onCheck”,function(id,state){


var list = tree.getAllSubItems(id);


var items = list.split(",");


for(var i = 0; i< items.length;i++)


tree.setCheck(items[i],state);


})