I have a Tree Component that I have bound an ArrayCollection of data too.

The tree will have two branches. each branch will have several
children. Basically a list of files. So the user will upload a new
file by clicking an browsing for a new file.

I then as AMFPHP to give the list of files again and update the
ArrayCollection with new data. Before I ask for the new
ArrayCollection of data I store the try components open items like this

tempOpenItems = mytree.openItems;

after the new data is set I then would like to say 

mytree.openItems = tempOpenItems;

this does not work.

Has anyone figured out how to add new data to the Tree dataProvider
and maintain the Trees view state of open Items?

thanks,
matthew



Reply via email to