3 Replies Latest reply on Jul 24, 2011 6:26 AM by wendy888

    set specific flex DataGrid column datafield value

    anandbk Level 1

      Hi Everyone,


      Can anyone please tell me how to set the datafield of specific column of datagrid with new value.





      <mx:DataGrid id="statusGrid" dataProvider="{arrColl}" width="25%" height="62%">
                  <mx:DataGridColumn dataField="Status"/>

                   <mx:DataGridColumn dataField="Property"/>



      Here dataField values are set from dataprovider.


      But I want to change/set the datafield for 2nd column with new field of arrColl () detaprovider from Actionscript dynamically when flex page loads. Can anyone please help me in this regard ?