Adding node to tree panel.
I added NodeB to NodeA. Then i collapsed NodeA, having NodeA selected I add NodeC.
But in UI it shows that it got added above NodeA. Now if I expand NodeA, NodeC jumps into NodeA at its proper place i.e as a child of NodeA and sibling of NodeB. On debugging I found that parent attrib. of NodeC is correctly set to NodeA, but then why does it show above NodeA when NodeA is collapsed ??
Note: When adding child to a node which is collapsed.
Thanks in advanced.
How are you adding node?
Tags for this Thread