MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 280

Using components
Hide thumbs Also See for FLASH MX 2004-USING COMPONENTS:
Table of Contents

Advertisement

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
Example
The following example creates a DataGridColumn object called
import mx.controls.gridclasses.DataGridColumn;
var column = new DataGridColumn("Location");
DataGridColumn.cellRenderer
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myDataGrid.getColumnAt(index).cellRenderer
Description
Property; a linkage identifier for a symbol to be used to display cells in this column. Any class
used for this property must implement the CellRenderer API (see
on page
145.) The default value is
Example
The following example uses a linkage identifier to set a new cell renderer:
myGrid.getColumnAt(3).cellRenderer = "MyCellRenderer";
DataGridColumn.columnName
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myDataGrid.getColumnAt(index).columnName
280
Chapter 6: Components Dictionary
DataGrid.addColumn()
undefined
.
Location
"CellRenderer API"
.
:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash mx

Table of Contents