Apache Flex 4.16.1 API Reference | All Packages | All Classes | Index | Frames No Frames |
GridDoubleClickMode

Package | spark.components.gridClasses
Class | public final class GridDoubleClickMode
Inheritance | GridDoubleClickMode Object

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>

See also

spark.components.DataGrid.doubleClickMode
spark.components.Grid.doubleClickMode

Public Methods

| Method | Defined By
--- | --- | ---
|  | GridDoubleClickMode() Constructor. | GridDoubleClickMode

Public Constants

| Constant | Defined By
--- | --- | ---
|  | CELL : String = cell [static] Specifies that the doubleClick event should be based on a cell. | GridDoubleClickMode
|  | GRID : String = grid [static] Specifies that the doubleClick event should be based on the entire grid. | GridDoubleClickMode
|  | ROW : String = row [static] Specifies that the doubleClick event should be based on a row. | GridDoubleClickMode

Constructor Detail

GridDoubleClickMode | () | Constructor

`public function GridDoubleClickMode()`

Language Version : | ActionScript 3.0

Product Version : | Flex 4.10

Runtime Versions : | Flash Player 11.1, AIR 3.4

Constructor.

Constant Detail

CELL | Constant

`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.

GRID | Constant |

`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.

ROW | Constant |

`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