2 Replies Latest reply on May 16, 2006 7:22 AM by ganeshflex

    Dynamically building datagrid columns

    ganeshflex
      Respected experts,

      In flex 1.5 we were successfully construct the columns dynamically as follows:

      mx.controls.DataGrid dg = new mx.controls.DataGrid();
      dg.addColumn(new DataGridColumn());

      Please help me in dynamically adding or removing a column from datagrid in flex 2.

      help is greatly appreciated.

      Regards
      Ganeshflex