| Pacchetto | spark.components.gridClasses |
| Classe | public final class GridSelectionMode |
| Ereditarietà | GridSelectionMode Object |
| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 4.5 |
| Versioni runtime: | 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>
Elementi API correlati
Proprietà pubbliche
Metodi pubblici
| Metodo | Definito da | ||
|---|---|---|---|
Constructor. | GridSelectionMode | ||
![]() |
Indica se per un oggetto è definita una proprietà specifica. | Object | |
![]() |
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro. | Object | |
![]() |
Indica se la proprietà specificata esiste ed è enumerabile. | Object | |
![]() |
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche. | Object | |
![]() |
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate. | Object | |
![]() |
Restituisce la rappresentazione in formato stringa dell'oggetto specificato. | Object | |
![]() |
Restituisce il valore di base dell'oggetto specificato. | Object | |
Costanti pubbliche
| Costante | Definito da | ||
|---|---|---|---|
| MULTIPLE_CELLS : String = "multipleCells" [statico]
Specifies that one or more cells can be selected. | GridSelectionMode | ||
| MULTIPLE_ROWS : String = "multipleRows" [statico]
Specifies that one or more rows can be selected. | GridSelectionMode | ||
| NONE : String = "none" [statico]
Specifies that no selection is allowed. | GridSelectionMode | ||
| SINGLE_CELL : String = "singleCell" [statico]
Specifies that one cell can be selected. | GridSelectionMode | ||
| SINGLE_ROW : String = "singleRow" [statico]
Specifies that one row can be selected. | GridSelectionMode | ||
Descrizione della funzione di costruzione
GridSelectionMode | () | Funzione di costruzione |
public function GridSelectionMode()| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 4.5 |
| Versioni runtime: | Flash Player 10, AIR 2.5 |
Constructor.
Descrizione delle costanti
MULTIPLE_CELLS | Costante |
public static const MULTIPLE_CELLS:String = "multipleCells"| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 4.5 |
| Versioni runtime: | Flash Player 10, AIR 2.5 |
Specifies that one or more cells can be selected.
MULTIPLE_ROWS | Costante |
public static const MULTIPLE_ROWS:String = "multipleRows"| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 4.5 |
| Versioni runtime: | Flash Player 10, AIR 2.5 |
Specifies that one or more rows can be selected.
NONE | Costante |
public static const NONE:String = "none"| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 4.5 |
| Versioni runtime: | Flash Player 10, AIR 2.5 |
Specifies that no selection is allowed.
SINGLE_CELL | Costante |
public static const SINGLE_CELL:String = "singleCell"| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 4.5 |
| Versioni runtime: | Flash Player 10, AIR 2.5 |
Specifies that one cell can be selected.
SINGLE_ROW | Costante |
public static const SINGLE_ROW:String = "singleRow"| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 4.5 |
| Versioni runtime: | Flash Player 10, AIR 2.5 |
Specifies that one row can be selected.
Tue Jun 12 2018, 02:44 PM Z
Nascondi proprietà pubbliche ereditate
Mostra proprietà pubbliche ereditate