GridOptions
그리드의 전체 설정 정보들
Signature:
export interface GridOptions Remarks
GridBase.getOptions() 시 하위 구성 요소를 재설정하는 것이 불가능하다.
GridBase.setOptions() 시 하위 구성 요소를 재설정하는 것이 가능하다.
실질적인 사용은 GridView, TreeView 에서 한다.
Example
let options = {
summaryMode: 'aggregate',
display: {
columnResizable : false
}
};
gridView.setOptions(options);Properties
| Property | Type | Description |
|---|---|---|
| checkBar | CheckBar | 체크바와 관련된 설정 모델 |
| copy | CopyOptions | 그리드의 내용을 클립보드를 복사하는 것에 대한 설정 모델 |
| dataDrop | DataDropOptions | 그리드에서 drag 된 데이터를 처리하는 방식에 대한 설정 모델 |
| display | DisplayOptions | 그리드 수준에서 관리되는 표시 정보들에 대한 설정 모델 |
| edit | EditOptions | 그리드에서의 데이터 편집에 대한 설정 모델 |
| editor | EditorOptions | 그리드 수준에서 관리되는 편집기 정보들에 대한 설정 모델 |
| filtering | FilteringOptions | 컬럼 필터링과 관련된 설정 모델 |
| filterMode | FilterMode | 데이터 수정 이후 필터 동작 모드 |
| filterPanel | FilterPanel | Inline필터창 설정정보 |
| fixed | FixedOptions | 그리드의 고정 행 및 컬럼 영역에 대한 설정 모델 |
| footer | GridFooter | 푸터 영역의 단일 설정 모델 |
| footers | GridFooterCollection | 그리드 푸터 영역에 관한 콜렉션 모델 |
| format | FormatOptions | 데이터 필드 값의 변환 형식에 대한 설정 모델 |
| header | GridHeader | 헤더 영역의 설정 모델 |
| headerSummaries | HeaderSummaryCollection | Header summary 영역에 관한 콜렉션 모델 |
| headerSummary | HeaderSummary | Header Summary 영역의 단일 설정 모델 |
| hideDeletedRows | boolean | DataProvider의 softDeleting이 true일때 삭제된 행들의 숨김 여부 |
| mobile | MobileOptions | |
| paste | PasteOptions | 클립보드의 데이터를 그리드에 붙여넣는 것에 관한 설정 모델 |
| rowIndicator | RowIndicator | 그리드의 인디케이터에 관한 설정 모델 |
| sorting | SortingOptions | 데이터 정렬에 대한 설정 모델 |
| sortMode | SortMode | 데이터 수정 이후 정렬 동작 모드 |
| stateBar | StateBar | 행들의 상태를 표시하는 상태바와 관련된 설정 모델 |
| summaryMode | SummaryMode | 그리드의 각 컬럼의 합계를 계산하는 방식 |
| undoable | boolean | 그리드 편집 undo여부 |
Properties Desc
checkBar
체크바와 관련된 설정 모델
Type - CheckBar
copy
그리드의 내용을 클립보드를 복사하는 것에 대한 설정 모델
Type - CopyOptions
dataDrop
그리드에서 drag 된 데이터를 처리하는 방식에 대한 설정 모델
Type - DataDropOptions
display
그리드 수준에서 관리되는 표시 정보들에 대한 설정 모델
Type - DisplayOptions
edit
그리드에서의 데이터 편집에 대한 설정 모델
Type - EditOptions
editor
그리드 수준에서 관리되는 편집기 정보들에 대한 설정 모델
Type - EditorOptions
filtering
컬럼 필터링과 관련된 설정 모델
Type - FilteringOptions
filterMode
데이터 수정 이후 필터 동작 모드
Type - FilterMode
filterPanel
Inline필터창 설정정보
Type - FilterPanel
fixed
그리드의 고정 행 및 컬럼 영역에 대한 설정 모델
Type - FixedOptions
footer
푸터 영역의 단일 설정 모델
Type - GridFooter
footers
그리드 푸터 영역에 관한 콜렉션 모델
Type - GridFooterCollection
format
데이터 필드 값의 변환 형식에 대한 설정 모델
Type - FormatOptions
header
헤더 영역의 설정 모델
Type - GridHeader
headerSummaries
Header summary 영역에 관한 콜렉션 모델
Type - HeaderSummaryCollection
headerSummary
Header Summary 영역의 단일 설정 모델
Type - HeaderSummary
hideDeletedRows
DataProvider의 softDeleting이 true일때 삭제된 행들의 숨김 여부
Type - boolean
mobile
Type - MobileOptions
paste
클립보드의 데이터를 그리드에 붙여넣는 것에 관한 설정 모델
Type - PasteOptions
rowIndicator
그리드의 인디케이터에 관한 설정 모델
Type - RowIndicator
sorting
데이터 정렬에 대한 설정 모델
Type - SortingOptions
sortMode
데이터 수정 이후 정렬 동작 모드
Type - SortMode
stateBar
행들의 상태를 표시하는 상태바와 관련된 설정 모델
Type - StateBar
summaryMode
그리드의 각 컬럼의 합계를 계산하는 방식
Type - SummaryMode
undoable
그리드 편집 undo여부
Type - boolean
Remarks:
true이면 commit되기 전까지 편집된 내용을 undo/redo 할수 있다.