1 Reply Latest reply on Jul 6, 2009 10:25 AM by bruce_adobe

    Displaying Tree structure in FC -

    kk88

      I am trying to display a tree structure in FC similar to what is see here:

       

      > GrandParent Node 1

      > GrandParent Node 2

      > GrandParent Node 3

       

      When user clicks on ">GrandParent Node 1", then it should expand the contents under it and should look like:

       

      v GrandParent Node 1

         >Parent Node 1

         >Parent Node 2

      > GrandParent Node 2

      > GrandParent Node 3

       

      When user clicks on ">GrandParent Node 1" again, then it should collapse the contents.

       

      I am oversimplifying my end result here.  Is there an efficient way to achieve this requirement without creating multiple states or pages?

        • 1. Re: Displaying Tree structure in FC -
          bruce_adobe Adobe Employee

          kk88:

           

          No, there is no straightforward way of doing this in Catalyst. What you really want, it seems, is a tree control. Currenly the only way add a tree control to a Flex application is to use Flex Builder.

           

          As you point out, a limited tree could be constructed with states in Catalyst, but this would be very cumbersome for all but the smallest trees.

           

          - Bruce