Description
Property; a Boolean value that indicates whether a column can be sorted by a user (
(
). The
false
DataGrid.sortableColumns
effect. The default value is
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 column at index 1 from being sorted:
myGrid.getColumnAt(1).sortable = false;
DataGridColumn.sortOnHeaderRelease
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myDataGrid.getColumnAt(index).sortOnHeaderRelease
Description
Property; a Boolean value that indicates whether the column is sorted automatically (
(
) when a user clicks a header. This property can be set to
false
DataGridColumn.sortable
, you can catch the
false
The default value is
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 lets you catch the
myGrid.getColumnAt(7).sortOnHeaderRelease = false;
284
Chapter 6: Components Dictionary
.
true
is set to
true
headerRelease
.
true
headerRelease
property must be set to
true
. If
DataGridColumn.sortOnHeaderRelease
event and perform your own sort.
event to perform your own sort:
) or not
true
for this property to take
true
) or not
true
only if
is set to
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?