View previous topic :: View next topic |
Author |
Message |
esanabia
Joined: 29 Sep 2008 Posts: 23
|
Posted: Sat Aug 15, 2009 6:00 pm Post subject: Expand All |
|
|
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 |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Sun Aug 16, 2009 2:01 am Post subject: |
|
|
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 |
|
|
|