Hi All,

I am trying to programmatically expand/Collapse mx:Tree. I am using
openItem

*

private
*

*function* openAll():*void* {

*var* items:XMLList = xmlDP..node.(children().length() > 0);

tree.openItems = items;

}

 *private* *function* closeAll():*void* {

tree.openItems = [];

}



My problem is afterwards when i try to manully expand/Collapse the item
vertical scroll bar always jumps to top.



I found this problem in mx:tree and probably its the listbase
collectionChange Handler causing this scroll bar to reset.



I searched but could not find any bug related to this. Has anyone faced the
similar situation?





regards

maleks

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to flex_india+unsubscr...@googlegroups.com.
To post to this group, send email to flex_india@googlegroups.com.
Visit this group at http://groups.google.com/group/flex_india.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to