MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 279

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

Advertisement

DataGrid.columnNames
DataGridColumn objects, in order, for each field listed. This approach lets you select and
order columns quickly with a minimal amount of configuration. This approach removes any
previous column information.
The most flexible way to add columns is to prebuild them as DataGridColumn objects and
add them to the data grid by using
lets you add columns with proper sizing and formatting before the columns ever reach the grid
(which reduces processor demand). For more information, see
DataGridColumn class" on page
Property summary for the DataGridColumn class
The following table lists the properties of the DataGridColumn class.
Property
DataGridColumn.cellRenderer
DataGridColumn.columnName
DataGridColumn.editable
DataGridColumn.headerRenderer
DataGridColumn.headerText
DataGridColumn.labelFunction
DataGridColumn.resizable
DataGridColumn.sortable
DataGridColumn.sortOnHeaderRelease
DataGridColumn.width
Constructor for the DataGridColumn class
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
new DataGridColumn(name)
takes in the field names of the desired item fields and generates
DataGrid.addColumn()
279.
Description
The linkage identifier of a symbol to be used to display the
cells in this column.
Read-only; the name of the field associated with the column.
A Boolean value that indicates whether a column is editable
(
) or not (
true
The name of a class to be used to display the header of
this column.
The text for the header of this column.
A function that determines which field of an item to display.
A Boolean value that indicates whether a column is resizable
(
) or not (
true
A Boolean value that indicates whether a column is sortable
(
) or not (
true
A Boolean value that indicates whether a column is sorted
(
) or not (
true
The width of a column, in pixels.
DataGrid component (Flash Professional only)
. This approach is useful because it
"Constructor for the
).
false
).
false
).
false
) when a user clicks a column header.
false
279

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?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx

Table of Contents