| Paket | spark.components.gridClasses |
| Klass | public final class GridSelectionMode |
| Arv | GridSelectionMode Object |
| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 4.5 |
| Körningsmiljöversioner: | 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>
Relaterade API-element
Publika egenskaper
Publika metoder
| Metod | Definieras med | ||
|---|---|---|---|
Constructor. | GridSelectionMode | ||
![]() |
Anger om det finns en egenskap angiven för ett objekt. | Object | |
![]() |
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | |
![]() |
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | |
![]() |
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | |
![]() |
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | |
![]() |
Returnerar det angivna objektets strängbeteckning. | Object | |
![]() |
Returnerar det angivna objektets primitiva värde. | Object | |
Publika konstanter
| Konstant | Definieras med | ||
|---|---|---|---|
| MULTIPLE_CELLS : String = "multipleCells" [statisk]
Specifies that one or more cells can be selected. | GridSelectionMode | ||
| MULTIPLE_ROWS : String = "multipleRows" [statisk]
Specifies that one or more rows can be selected. | GridSelectionMode | ||
| NONE : String = "none" [statisk]
Specifies that no selection is allowed. | GridSelectionMode | ||
| SINGLE_CELL : String = "singleCell" [statisk]
Specifies that one cell can be selected. | GridSelectionMode | ||
| SINGLE_ROW : String = "singleRow" [statisk]
Specifies that one row can be selected. | GridSelectionMode | ||
Konstruktordetaljer
GridSelectionMode | () | Konstruktor |
public function GridSelectionMode()| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 4.5 |
| Körningsmiljöversioner: | Flash Player 10, AIR 2.5 |
Constructor.
Konstantdetaljer
MULTIPLE_CELLS | Konstant |
public static const MULTIPLE_CELLS:String = "multipleCells"| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 4.5 |
| Körningsmiljöversioner: | Flash Player 10, AIR 2.5 |
Specifies that one or more cells can be selected.
MULTIPLE_ROWS | Konstant |
public static const MULTIPLE_ROWS:String = "multipleRows"| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 4.5 |
| Körningsmiljöversioner: | Flash Player 10, AIR 2.5 |
Specifies that one or more rows can be selected.
NONE | Konstant |
public static const NONE:String = "none"| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 4.5 |
| Körningsmiljöversioner: | Flash Player 10, AIR 2.5 |
Specifies that no selection is allowed.
SINGLE_CELL | Konstant |
public static const SINGLE_CELL:String = "singleCell"| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 4.5 |
| Körningsmiljöversioner: | Flash Player 10, AIR 2.5 |
Specifies that one cell can be selected.
SINGLE_ROW | Konstant |
public static const SINGLE_ROW:String = "singleRow"| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 4.5 |
| Körningsmiljöversioner: | Flash Player 10, AIR 2.5 |
Specifies that one row can be selected.
Tue Jun 12 2018, 01:40 PM Z
Dölj ärvda publika egenskaper
Visa ärvda publika egenskaper