I’m dealing with a strange little problem with the dhtmlxTree control in Firefox that doesn’t happen in IE…
When the CSS of the containing DIV specifies overflow-y:auto; and uses max-height instead of height (so that the containing DIV collapses to the height of the tree itself when shorter than max-height), the vertical scrollbar never appears (in Firefox) when the tree is expanded beyond the max-height of the containing DIV. It does however work in IE.
– where divTree is your containing DIV, and 400 is your desired max-height.
NOTE: It’s only necessary to add this to your “onClick” event if clicking the item/folder itself collapses or expands the tree. If you only use the little +/- icons to collapse and expand, then “onOpenEnd” will be enough.
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan