Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by John-Olav Hoddevik on Sep 23, 2009 06:30
open dhtmlx forum
Avoid scrollbars in tree

If the DIV holding the tree doesn't have enough width to show the whole tree, then scrollbars are shown in the div. Is there any way to stop these scrollbars from appearing? I've tried setting overflow:hidden on the DIV.
Answer posted by Alex (support) on Sep 23, 2009 08:01

Tree is rendered in the own (internal) container.

You can try use teh next method to disable horizontal scroll: 

tree.allTree.style.overflowX = "hidden"