I'm new to Flex and I'm having a hard time populating a
dataGrid with info nested in an dynamically updatable
I have the thing structured like so:
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.
To me, the type of data you have isn't appropriate for a
DataGrid as there are not repeating elements. For instance, if you
and so forth, you could imagine that each row of the DataGrid was a
<food> element and the columns where the children of the
Since you don't have repeating elements, I suggest you look
at the <mx:Tree> control instead. You can edit items in the
tree control, too.