MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 267

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

Advertisement

DataGrid.columnCount
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myDataGrid.columnCount
Description
Property (read-only); the number of columns displayed.
Example
The following example gets the number of displayed columns in the DataGrid instance
var c = grid.columnCount;
DataGrid.columnNames
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myDataGrid.columnNames
Description
Property; an array of field names within each item that are displayed as columns.
Example
The following example tells the
grid.columnNames = ["Name", "Description", "Price"];
DataGrid.columnStretch
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
instance to display only these three fields as columns:
grid
DataGrid component (Flash Professional only)
:
grid
267

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?

This manual is also suitable for:

Flash mx

Table of Contents