when checking the child i need the parent to be checked in the same way the child is checked(without the gray color)
i want getAllChecked to return both the child and the parent id (all though i checked only the child)
You can use two state checkboxes and just add some custom code to onCheck event
tree.enableCheckBoxes(true);
tree.attachEvent(“onCheck”,function(id,state){
var pid=tree.getParentId(id);
if (pid) tree.setCheck(pid,state);
return true;
});