Welcome Guest Search | Active Topics | Sign In | Register

Tree auto height Options
Bazooka
Posted: Friday, April 13, 2012 2:50:03 PM
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.
eo_support
Posted: Monday, April 16, 2012 9:47:30 AM
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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.