Packagespark.components.gridClasses
Classpublic final class GridDoubleClickMode
InheritanceGridDoubleClickMode Inheritance 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
 MethodDefined By
  
Constructor.
GridDoubleClickMode
Public Constants
 ConstantDefined 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
CELLConstant
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.

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

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