I want to hide checkboxes for some items.
After installed the prof
edition of the dhtmlxtree I tried the function hide checkbox
tree=new dhtmlXTreeObject(“treeboxbox_tree”,“100%”,“100%”,0);
tree.setImagePath(“dhtmlxTree/imgs/”);
tree.enableCheckBoxes(1);
tree.enableThreeStateCheckboxes(false);
tree.loadXML(“dhtmlxTree/treefromdb.php?id={id}”);
tree.showItemCheckbox(1,0);
The xml-tree load but
the checkbox with id 1 doesn’t disappear.
What am I doing wrong?