2 Replies Latest reply on Apr 17, 2008 12:51 PM by dantlers

    Populating DataGrid with nested data

    dantlers
      Hello,
      I'm new to Flex and I'm having a hard time populating a dataGrid with info nested in an dynamically updatable XMLListCollection.

      for example:
      I have the thing structured like so:
      <food>
      <fruits>
      <banana/>
      <apple/>
      </fruits>
      <veggies>
      <carrot/>
      <lettuce/>
      </veggies>
      </food>

      How can I create an interface where the user chooses "fruit" from a list, and can then edit the items within that element? It seems like a simple task, but I can't come up with a good solution. Does anybody know of a good example of this somewhere? Sorry if this question is a repeat, but I can't find anything.