Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by andreea on May 22, 2008 08:12
open dhtmlx forum
How do a disable scroll bars for a tree? is there an alternative for obj.style.overflow in grid?

How do a disable scroll bars for a tree?
i tried using tree.obj.style.overflow = "hidden"; but i get an error :

tree.obj has no properties
[Break on this error] tree.obj.style.overflow = "hidden";


is there an alternative for obj.style.overflow in grid?
Answer posted by Support on May 22, 2008 10:06

You can comment it directly in CSS file of tree

dhtmlxtree.css
.containerTableStyle { overflow : auto;     <=  this is it
       position:relative; top:0; font-size : 12px;}

or by js command as

tree.allTree.style.overflow="hidden";