0 Replies Latest reply on Feb 20, 2007 7:11 AM by nprzybylo

    DataGridColumn labelFunction

    nprzybylo
      I am using ActionScript to dynamically create DataGridColumns to display in a DataGrid. So far, I've been able to create the columns with the appropriate dataField and headerText properties. When trying to assign a label function, my column code no longer works. The statement that I'm using is the following:

      myDataGridCols[i+1].labelFunction = "dataGridNumberFormat";

      If I were to hard code the tag in MXML, I would set the labelFunction="dataGridNumberFormat". Any advice is greatly appreciated.