0 Replies Latest reply on Aug 13, 2008 7:17 AM by anoweb

    DataGrid - display a collection of collections

      I have three objects:
      Office, PersonGroup, Person.

      An Office contains an ArrayCollection of PersonGroups.
      A PersonGroup contains an ArrayCollection of Persons.

      I'd like to bind a datagrid so that it displays one record for each Person in each PersonGroup.

      something like:
      <mx:DataGrid dataProvider="{office.personGroups.peronsList}" />

      Any suggestions on how to do this?