Sesshomurai
28 Apr 2009, 3:39 AM
Hi,
I manually add a AsyncTree node to a tree view and call child.expand(true) and the tree view does not expand to the child. opening the parent also does not show the child.
If I open the parent before adding the child, the child appears.
The below code does not work as expected:
parent.appendChild(child);
child.expand(true);
Only when the parent is opened previously is the child visible.
I manually add a AsyncTree node to a tree view and call child.expand(true) and the tree view does not expand to the child. opening the parent also does not show the child.
If I open the parent before adding the child, the child appears.
The below code does not work as expected:
parent.appendChild(child);
child.expand(true);
Only when the parent is opened previously is the child visible.