0 Replies Latest reply on Jun 12, 2008 8:18 AM by Marqui.be

    Advanced datagrid in AS


      I want to make a dynamic tree layout in an advanced datagrid with the following structure:
      A model has many engines and one engine has many grades.

      + Model_1
      - Model_2
      |+ Engine_1
      |+ Engine_2
      |- Engine_3
      || grade_1
      || grade_2
      |+ Engine_4
      + Model_3

      No problem in MXML, bud when converted to AS, I can only get 2 levels to work (EG: Model and engine, or Engine and grade). This is my code for 1 entry of each level:

      What am I doing wrong?
      ( Reason to work like this is because I have a dynamic number of columns )

      Greets from Belgium