1 Reply Latest reply on Sep 18, 2006 5:33 AM by hsivaram

    Item renderer in datagrid

    trycold Level 1
      Hi,

      I have a simple datagrid in which one of the column is a quantity field. The user can change the quantity for any row. So I have something like:

      <mx:DataGrid dataProvider="{arrTest}" width="100%" height="100%" >
      <mx:columns>
      <mx:Array>
      <mx:DataGridColumn dataField="Name" />
      <mx:DataGridColumn
      headerText="Quantity" dataField="Quantity"
      itemRenderer="mx.controls.TextInput" />
      </mx:Array>
      </mx:columns>
      </mx:DataGrid>

      I am not exactly sure how should I get all the updated values in the datagrid so that I can update the database.

      Thanks