Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Swapnil Deshmukh on Oct 19, 2008 08:17
open dhtmlx forum
problem in DHTMLX div

After expanding tree , division not showing scroll bar (both horizontal and vertical ). The code I used to generate tree is

function loadTree()
{
project_id=document.getElementById("p_id").value;
sys_id=document.getElementById("s_id").value;
tree=new dhtmlXTreeObject("treeboxbox_tree","100%","100%",0);
tree.setImagePath("dhtmlxTree/samples/images/");
tree.enableCheckBoxes(false);
tree.attachEvent("onOpenEnd",updateTreeSize);
tree.enableTreeLines(false);
tree.enableMultiLineItems(true);
tree.enableAutoTooltips(true);
tree.preventIECaching(true);
tree.enableSmartXMLParsing(true);
tree.setOnClickHandler(function(id){openPathDocs(id);});
tree.setXMLAutoLoading("XML/fmea_tree.jsp?project_id="+project_id+"&sys_id="+sys_id);
tree.loadXML("XML/fmea_tree.jsp?project_id="+project_id+"&sys_id="+sys_id,autoselectNode);
}


Please do needful.
Answer posted by Support on Oct 20, 2008 04:08
Please check that
a) dhtmlxtree.css file correctly included on the page
b) you have not any global css rules , which block overflow property on all DIV tags ( it may interfere with tree's css )

The problem caused by missed tree-related styles, or by some global css rule, which override default rules of dhtmlxtree.