Constructor for the DataGridColumn
class
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
new DataGridColumn(name)
Parameters
A string that indicates the name of the DataGridColumn object. This parameter is the
name
field of each item to display.
Returns
Nothing.
Description
Constructor; creates a DataGridColumn object. Use this constructor to create columns to add
to a DataGrid component. After you create the DataGridColumn objects, you can add them
to a data grid by calling
.
DataGrid.addColumn()
Example
The following example creates a DataGridColumn object called
:
Location
import mx.controls.gridclasses.DataGridColumn;
var column = new DataGridColumn("Location");
302
DataGrid component (Flash Professional only)
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?