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.


Tree is rendered in the own (internal) container.


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


tree.allTree.style.overflowX = “hidden”