Hi All,
I have used below lines of code to load my xml.
tree2 = new dhtmlXTreeObject(“treeboxbox_tree2”, “100%”, “100%”, 0);
tree2.setSkin(‘dhx_skyblue’);
tree2.setImagePath(“img/csh_bluebooks/”);
tree2.enableCheckBoxes(1);
tree2.enableThreeStateCheckboxes(true);
tree2.loadXML(loc);
Problem is when I check the loaded xml in tree view in jsp page…in some cases first value of the children values will be automatically expanded (So children and parent elements will be mixed at the same level)