2 Replies Latest reply on Jun 25, 2012 11:46 PM by AbhijitKurane

    How to change the name of column in ActionScript?

    AbhijitKurane Level 1

      I possibly know how to change the name of the column in DataGrid using mxml but dont know how  to change the name of column in  DataGrid using  ActionScript.

       

      var newDataGrid:DataGrid=new DataGrid();

           newDataGrid.dataProvider=arrayCollection():

       

      It takes the default names from arraycollection but I wanted to give any column names which I want through ActionScript.

      Please HELP!