MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 281

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

Advertisement

Description
Property (read-only); the name of the field associated with this column. The default value is the
name called in the DataGridColumn constructor.
Example
The following example assigns the column name of the column at the third index position to the
variable
:
name
var name = myGrid.getColumnAt(3).columnName;
See also
Constructor for the DataGridColumn class
DataGridColumn.editable
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myDataGrid.getColumnAt(index).editable
Description
Property; determines whether the column can be edited by a user (
DataGrid.editable
when
DataGridColumn.editable
Caution: The DataGrid is not editable or sortable if it is bound directly to a WebServiceConnector
component or an XMLConnector component. You must bind the DataGrid component to the
DataSet component and bind the DataSet component to the WebServiceConnector component or
XMLConnector component if you want the grid to be editable or sortable. For more information, see
Chapter 14, "Data Integration (Flash Professional Only)," in Using Flash.
Example
The following example prevents the first column in a grid from being edited:
myDataGrid.getColumnAt(0).editable = false;
See also
DataGrid.editable
property must be
true
is set to
in order for individual columns to be editable, even
. The default value is
true
DataGrid component (Flash Professional only)
) or not (
). The
true
false
.
true
281

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