Categories | Question details Back To List | ||
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 Answer posted by Alex (support) on Oct 23, 2009 10:04 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); }) |