| Pakket | spark.components.gridClasses |
| Klasse | public final class GridSelectionMode |
| Overerving | GridSelectionMode Object |
| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 4.5 |
| Runtimeversies: | Flash Player 10, AIR 2.5 |
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>
Verwante API-elementen
Openbare eigenschappen
Openbare methoden
| Methode | Gedefinieerd door | ||
|---|---|---|---|
Constructor. | GridSelectionMode | ||
![]() |
Geeft aan of voor een object een opgegeven eigenschap is gedefinieerd. | Object | |
![]() |
Geeft aan of een instantie van de klasse Object zich in de prototypeketen van het object bevindt dat als parameter is opgegeven. | Object | |
![]() |
Geeft aan of de opgegeven eigenschap bestaat en kan worden opgesomd. | Object | |
![]() |
Stelt de beschikbaarheid van een dynamische eigenschap voor lusbewerkingen in. | Object | |
![]() |
Geeft de tekenreeksweergave van dit object weer, geformatteerd volgens de locatiespecifieke conventies. | Object | |
![]() |
Retourneert een tekenreeksrepresentatie van het opgegeven object. | Object | |
![]() |
Retourneert de primitieve waarde van het opgegeven object. | Object | |
Openbare constanten
| Constante | Gedefinieerd door | ||
|---|---|---|---|
| MULTIPLE_CELLS : String = "multipleCells" [statisch]
Specifies that one or more cells can be selected. | GridSelectionMode | ||
| MULTIPLE_ROWS : String = "multipleRows" [statisch]
Specifies that one or more rows can be selected. | GridSelectionMode | ||
| NONE : String = "none" [statisch]
Specifies that no selection is allowed. | GridSelectionMode | ||
| SINGLE_CELL : String = "singleCell" [statisch]
Specifies that one cell can be selected. | GridSelectionMode | ||
| SINGLE_ROW : String = "singleRow" [statisch]
Specifies that one row can be selected. | GridSelectionMode | ||
Constructordetails
GridSelectionMode | () | Constructor |
public function GridSelectionMode()| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 4.5 |
| Runtimeversies: | Flash Player 10, AIR 2.5 |
Constructor.
Constantedetails
MULTIPLE_CELLS | Constante |
public static const MULTIPLE_CELLS:String = "multipleCells"| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 4.5 |
| Runtimeversies: | Flash Player 10, AIR 2.5 |
Specifies that one or more cells can be selected.
MULTIPLE_ROWS | Constante |
public static const MULTIPLE_ROWS:String = "multipleRows"| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 4.5 |
| Runtimeversies: | Flash Player 10, AIR 2.5 |
Specifies that one or more rows can be selected.
NONE | Constante |
public static const NONE:String = "none"| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 4.5 |
| Runtimeversies: | Flash Player 10, AIR 2.5 |
Specifies that no selection is allowed.
SINGLE_CELL | Constante |
public static const SINGLE_CELL:String = "singleCell"| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 4.5 |
| Runtimeversies: | Flash Player 10, AIR 2.5 |
Specifies that one cell can be selected.
SINGLE_ROW | Constante |
public static const SINGLE_ROW:String = "singleRow"| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 4.5 |
| Runtimeversies: | Flash Player 10, AIR 2.5 |
Specifies that one row can be selected.
Wed Jun 13 2018, 11:42 AM Z
Overerfde openbare eigenschappen verbergen
Overerfde openbare eigenschappen weergeven