May 05, 2009, 12:22 PM
Mix and match TreeNode and AsyncTreeNode?
There is a legitimate need for this sometimes. Take for example the following tree structure:
Root
Parent1
Child1
....
Parent2
Parent3
For Root and for ParentX,, these will be statically loaded (TreeNode). But, ChildX nodes, I want these to be dynamically loaded (AsyncTreeNode) when ParentX is expanded, since there can be a lot of ChildX nodes.
I have tried to do this, but doesn't seem to work. Can this be done? If so, an example would be appreciated.
Root
Parent1
Child1
....
Parent2
Parent3
For Root and for ParentX,, these will be statically loaded (TreeNode). But, ChildX nodes, I want these to be dynamically loaded (AsyncTreeNode) when ParentX is expanded, since there can be a lot of ChildX nodes.
I have tried to do this, but doesn't seem to work. Can this be done? If so, an example would be appreciated.