| 패키지 | spark.components.gridClasses |
| 클래스 | public final class GridSelectionMode |
| 상속 | GridSelectionMode Object |
| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | Flex 4.5 |
| 런타임 버전: | 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>
관련 API 요소
공용 속성
공용 메서드
| 메서드 | 정의 주체 | ||
|---|---|---|---|
Constructor. | GridSelectionMode | ||
![]() |
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다. | Object | |
![]() |
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다. | Object | |
![]() |
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다. | Object | |
![]() |
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다. | Object | |
![]() |
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다. | Object | |
![]() |
지정된 객체의 문자열 표현을 반환합니다. | Object | |
![]() |
지정된 객체의 프리미티브 값을 반환합니다. | Object | |
공용 상수
| 상수 | 정의 주체 | ||
|---|---|---|---|
| MULTIPLE_CELLS : String = "multipleCells" [정적]
Specifies that one or more cells can be selected. | GridSelectionMode | ||
| MULTIPLE_ROWS : String = "multipleRows" [정적]
Specifies that one or more rows can be selected. | GridSelectionMode | ||
| NONE : String = "none" [정적]
Specifies that no selection is allowed. | GridSelectionMode | ||
| SINGLE_CELL : String = "singleCell" [정적]
Specifies that one cell can be selected. | GridSelectionMode | ||
| SINGLE_ROW : String = "singleRow" [정적]
Specifies that one row can be selected. | GridSelectionMode | ||
생성자 세부 정보
GridSelectionMode | () | 생성자 |
public function GridSelectionMode()| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | Flex 4.5 |
| 런타임 버전: | Flash Player 10, AIR 2.5 |
Constructor.
상수 세부 정보
MULTIPLE_CELLS | 상수 |
public static const MULTIPLE_CELLS:String = "multipleCells"| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | Flex 4.5 |
| 런타임 버전: | Flash Player 10, AIR 2.5 |
Specifies that one or more cells can be selected.
MULTIPLE_ROWS | 상수 |
public static const MULTIPLE_ROWS:String = "multipleRows"| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | Flex 4.5 |
| 런타임 버전: | Flash Player 10, AIR 2.5 |
Specifies that one or more rows can be selected.
NONE | 상수 |
public static const NONE:String = "none"| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | Flex 4.5 |
| 런타임 버전: | Flash Player 10, AIR 2.5 |
Specifies that no selection is allowed.
SINGLE_CELL | 상수 |
public static const SINGLE_CELL:String = "singleCell"| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | Flex 4.5 |
| 런타임 버전: | Flash Player 10, AIR 2.5 |
Specifies that one cell can be selected.
SINGLE_ROW | 상수 |
public static const SINGLE_ROW:String = "singleRow"| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | Flex 4.5 |
| 런타임 버전: | Flash Player 10, AIR 2.5 |
Specifies that one row can be selected.
Tue Jun 12 2018, 03:17 PM Z
상속되는 공용 속성 숨기기
상속되는 공용 속성 표시