Language Version : | ActionScript 3.0 |
Product Version : | Flex 4.5 |
Runtime Versions : | Flash Player 10, AIR 2.5 |
The GridSelectionMode class defines the valid constant values for the
selectionMode
property of the Spark DataGrid and Grid controls.
Use the constants in ActionsScript, as the following example shows:
myDG.selectionMode = GridSelectionMode.MULTIPLE_CELLS;
In MXML, use the String value of the constants,
as the following example shows:
<s:DataGrid id="myGrid" width="350" height="150"
selectionMode="multipleCells">
...
</s:DataGrid>
public function GridSelectionMode()
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4.5 |
Runtime Versions : | Flash Player 10, AIR 2.5 |
Constructor.
public static const MULTIPLE_CELLS:String = multipleCells
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4.5 |
Runtime Versions : | Flash Player 10, AIR 2.5 |
Specifies that one or more cells can be selected.
public static const MULTIPLE_ROWS:String = multipleRows
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4.5 |
Runtime Versions : | Flash Player 10, AIR 2.5 |
Specifies that one or more rows can be selected.
public static const NONE:String = none
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4.5 |
Runtime Versions : | Flash Player 10, AIR 2.5 |
Specifies that no selection is allowed.
public static const SINGLE_CELL:String = singleCell
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4.5 |
Runtime Versions : | Flash Player 10, AIR 2.5 |
Specifies that one cell can be selected.
public static const SINGLE_ROW:String = singleRow
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4.5 |
Runtime Versions : | Flash Player 10, AIR 2.5 |
Specifies that one row can be selected.
Wed Nov 15 2017, 09:50 AM +01:00