0 Replies Latest reply on Aug 8, 2010 10:59 PM by Ling's

    flex tree control expanditem dynamically..?

    Ling's Level 1

      Hi All.,


                 I have using tree control using to display. when i pass the data with folder id dynamically  to expanding particular child node of tree.

          How to extarct tree with dynamic...?


      Below sample coding.....


      <mx:tree id="folderTree" />




           callLater(expandTree, [folderid]);



           private function expandTree(folderid: Object) : void

                      folderTree.expandChildrenOf(folderTree.getChildAt(0), true);
                      folderTree.selectedItem = folderid;


      but not extracting tree.

      anyone help this problem


      With Regards.,