1 Reply Latest reply on Apr 24, 2008 6:00 PM by ntsiii

    How to use ArrayCollection in a Tree

    dwwangrui
      I try to render a try use my ArrayCollection Object ,and the ArrayCollection have may have child ArrayCollection.
      Here is the relation map.
      ArrayCollection
      ------MyObj1
      ------MyObj2
      ------ArrayCollection1
      ------------MyObj3
      ------------MyObj4
      ------ArrayCollection2
      ------------MyObj5
      ------------MyObj6
      ------MyObj7
      ------MyObj8 Text
      The Tree controler can render the first level of node , that means it only show node :
      MyObj1
      MyObj2
      ArrayCollection1
      ArrayCollection2
      MyObj7
      MyObj8 Text

      My question is , how can i let the tree render the full node which include node MyObj3,MyObj4,MyObj5,MyObj6.
      And how to deal with the iconFuntion to let the tree show the correct branch or node icon ?


      Thanks for your reply ..