Hi, Take one ArrayCollection and save open close state of every tree node using isOpen method of tree . you have to right one recursive function which traverse every node of tree then call isOpen for every node of tree and save in Array Collection.
then after assign data provider to tree call one method , open tree node based one sate which you save in array collection using expandItem . I have implemented this in my project ..... it working fine .. Thanks Neeraj On Feb 28, 12:06 pm, Bhaskar <vijayabhaskarreddy.pe...@gmail.com> wrote: > Hi All, > > i have created tree with Custom icons with one mxml, and i included > that in main mxml > > i have refresh button which will refresh the tree with database > values. > > when i click on refresh button data need to bring from data base and > need to keep privous selected node open and remaining need to > collapse > > if any one having idea about this please help me. > > it's Argent > > Regards, > Bhaskar. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_india@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---