Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Expand All

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Support
View previous topic :: View next topic  
Author Message
esanabia



Joined: 29 Sep 2008
Posts: 23

PostPosted: Sat Aug 15, 2009 6:00 pm    Post subject: Expand All Reply with quote

Is there an "Expand All" property for the Virtual Tree? When my form opens, I'd like the tree nodes to be expanded.

Eric
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Sun Aug 16, 2009 2:01 am    Post subject: Reply with quote

You can call VirtualTree.RootRow.ExpandChildren(true). This will recursively expand all the nodes in the tree. Of course you should be aware that this may have some impact on performance if you have a very large tree - since VirtualTree has to retrieve all the data.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Support All times are GMT
Page 1 of 1

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


Powered by phpBB © 2001, 2005 phpBB Group