Rank: Advanced Member Groups: Member
Joined: 7/3/2009 Posts: 37
|
Question is there a way to have the tree's height property auto adjust in height based on a open tree node? In other words I want the tree component to adjust in size based on the number of expanded nodes of the tree without setting a prevalue on the height property.
It looks like if you set the height property value less than the tree component's height-size it hides a portaton of the tree. I also know you that you can enable the scrolling feature, but I don't want to do this.
Thanks.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
You can just remove the Height value on the TreeView. This way the TreeView will automatically grow in height. However if a horizontal scroll bar appears, then a vertical scroll bar also still appear to compensate the height of the horizontal scroll bar. Note the vertical scroll bar is only to compensate the horizontal scroll bar and the TreeView will still grow in height in this case.
Thanks!
|