Webtree in a listbar group.
If the tree is large, i get two vertical scroll bars (one for the tree , one for the Listbar group)
Anyway to turn this off of either?(both if possible)
and if able to turn off both is it possible to have the Group dynamically be the size of the tree? (Tree is populated at runtime).
Sorry to resurrect an old post, but ...
This seems to have gone haywire in 10.1. I cannot, no matter what I try, get the vertical scroll-bars to turn off when using UltraWebTree inside an UltraWebListbar. The same code was working in 9.2, and now in 10.1 it causes a vertical scroll-bar no matter what I do.
Thanks in advance!
Spencer
That's the point, though - to use the scrollbars for the tree rather than the scrollbars for the WebListBar group. Or are you getting both scrollbars in this situation anyway?
Another alternative may be to set the width and height of the tree to blank (or Unit.Empty in code). If I understand correctly, this would cause the tree to size itself to its own content, and thus wouldn't show its own scrollbars. If this ends up larger than the WebListBar group, then the group's scrollbars should show instead.
i did that , 100% width and 100% height, and it still uses scrollbars for the tree, if the data is larger than the group space
Try setting the width and height of the WebTree inside your WebListBar to 100%. I believe it should then fill the space it has available in the WebListBar group, which means that it'll show its own scrollbars and prevent the WebListBar from needing to show its own.
Actually that didn't completley fix my issue, is there any way to take the scrollbars out of the WEBLISTBAR, so that the scrollbar that is there is only the webtree.
when i turn off the scrollbars for the webtree it the WEBLISTBAR scroll bar does not allow me to see the complete tree (from side to side)