Language Version : | ActionScript 3.0 |
Product Version : | Flex 4.10 |
Runtime Versions : | Flash Player 11.1, AIR 3.4 |
The GridDoubleClickMode class defines the valid constant values for the
doubleClickMode
property of the Spark DataGrid and Grid controls.
Use the constants in ActionsScript, as the following example shows:
myDG.doubleClickMode = GridDoubleClickMode.ROW;
myDG.doubleClickEnabled = true;
In MXML, use the String value of the constants,
as the following example shows:
<s:DataGrid id="myGrid" width="350" height="150"
doubleClickMode="row" doubleClickEnabled="true">
...
</s:DataGrid>
public function GridDoubleClickMode()
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4.10 |
Runtime Versions : | Flash Player 11.1, AIR 3.4 |
Constructor.
public static const CELL:String = cell
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4.10 |
Runtime Versions : | Flash Player 11.1, AIR 3.4 |
Specifies that the doubleClick event should be based on a cell.
public static const GRID:String = grid
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4.10 |
Runtime Versions : | Flash Player 11.1, AIR 3.4 |
Specifies that the doubleClick event should be based on the entire grid.
public static const ROW:String = row
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4.10 |
Runtime Versions : | Flash Player 11.1, AIR 3.4 |
Specifies that the doubleClick event should be based on a row.
Wed Nov 15 2017, 09:50 AM +01:00