Description
Property; specifies whether the data grid has a horizontal scroll bar. This property can have the
value
,
"on"
"off"
If
hScrollPolicy
Note: This differs from the List component, which cannot have
Example
The following example sets horizontal scroll policy to automatic, which means that the horizontal
scroll bar appears if it's necessary to display all the content:
myDataGrid.hScrollPolicy = "auto";
DataGrid.removeAllColumns()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myDataGrid.removeAllColumns()
Parameters
None.
Returns
Nothing.
Description
Method; removes all DataGridColumn objects from the data grid. Calling this method has no
effect on the data provider.
Call this method if you are setting a new data provider that has different fields from the previous
data provider, and you want to clear the fields that are displayed.
Example
The following example removes all DataGridColumn objects from
myDataGrid.removeAllColumns();
DataGrid.removeColumnAt()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
274
Chapter 6: Components Dictionary
, or
. The default value is
"auto"
is set to
, columns scale proportionally to accommodate the finite width.
"off"
.
"off"
hScrollPolicy
myDataGrid
set to
.
"auto"
:
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?