2 Replies Latest reply on Nov 13, 2006 4:20 PM by ntsiii


    Hanno1962 Level 1
      I would like to pass dynamically DataGridColumns based on a result of a query performed by a remoteobject (CFMX) which passes the fieldnames also included in the dataProvider.

      How do you generate the array from the result of remote object call accepted by the DataGrid.

      <mx:Array id="mycols">
      <mx:DataGridColumn headerText="N1" dataField="A1"/>
      <mx:DataGridColumn headerText="N2" dataField="A2"/>

      Any suggestions are highly appreciated, as I trying to get myself a bit familiar with this great tool.