Hi there,
I’m having a problem with scrollbars not rendering correctly when hosting dhtmlxTrees within a dhtmlxTabbar. I’ve included a minimal subset of source to demonstrate the problem with this post. It’s using dhtmlx V2.5 Pro build 91111 vanilla and (included) also a variant of both dhtmlxTree and dhtmlxTabbar provided by yourselves to both to myself and one of my colleagues for other unrelated issues.
The document hosts objects according to the following graph:
body->dhxLayout->dhtmlxtab->2x dhtmlxtrees
The trees loadXML() some static XML that, when expanded, is taller than the window.
The problem is that when the first tree is expanded to a greater height than the available space, no scrollbar is rendered however any tab selection, for instance selecting and expanding the second tree or selecting the second tree and returning to the first renders scrollbars correctly
Things that I’ve already tried to no avail:
- all permutations of enableAutoReSize and enableAutoSize
- presence and absence of showInnerScroll
- creating the trees with tab.attachTree and with a DIV and a normal constructor then attaching the DIV to the tab
- calling setScroll
- permutations of overflow settings in the style for the tab’s DIV
I get the problem with both Firefox 3.6 and MSIE6
If possible I’m hoping there’s a solution to this that doesn’t involve me attaching a callback to tree expand operations that then forces a tabbar resize
Thanks for your time,
Paul