2 Replies Latest reply on Jan 10, 2010 8:04 PM by flexy8

    Accessing Objects in ArrayCollection on List component?


      I had an ArrayCollection type variable (myData) that serves as a dynamic dataProvider. Tried working it with a Datagrid and it is working as expected but when I plugged it in to a List, I get the [object Object] rows. Why is that?


      here's my code snippet:

      for each (var item:Object in myResponder.lastResult)
      <mx:DataGrid dataProvider="{myData}">
                <mx:DataGridColumn dataField="name"/>
      <s:List dataProvider="{myData}"></s:List>