hi,
I am trying to insert a child Panel B (position 1) before a child Panel A(positon 0) in a Parent Panel. This works fine but when I am again reinserting panel B (now in positon 0) after panel A(now in position 1) it does not seem to work. Any Suggestions would be greatly appreciated. Below is the code snippet I am using.
......... .........
var items = parentPanel.items.items;
items[1].el.insertBefore(items[0].el);
parentPanel.doLayout();
..........................
var items = parentPanel.items.items;
items[0].el.insertAfter(items[1].el);
parentPanel.doLayout();
...........................
................
Thank you MS