PDA

View Full Version : Adding node to tree panel.



nil5286
11 Feb 2013, 5:03 AM
Hello,
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.

Romick
11 Feb 2013, 5:17 AM
Any code? Test case?