2 Replies Latest reply on Mar 17, 2009 11:03 PM by alex-86

    Datagrid

    alex-86 Level 1
      how can i add an item to my datagrid
      <mx:DataGrid id="allproducts">
      <mx:columns>
      <mx:DataGridColumn headerText="Name" dataField="col1"/>
      <mx:DataGridColumn headerText="Id" dataField="col2"/>
      </mx:columns>
      </mx:DataGrid>

      is there something like allproducts.dataProvider.AddItem ?