RealGrid2 API
Interface
GridOptions

GridOptions

그리드의 전체 설정 정보들

Signature:

export interface GridOptions 

Remarks

GridBase.getOptions() 시 하위 구성 요소를 재설정하는 것이 불가능하다.

GridBase.setOptions() 시 하위 구성 요소를 재설정하는 것이 가능하다.

실질적인 사용은 GridView, TreeView 에서 한다.

Example

let options =  {
    summaryMode: 'aggregate',
    display: {
        columnResizable : false
    }
};
gridView.setOptions(options);

Properties

PropertyTypeDescription
checkBarCheckBar체크바와 관련된 설정 모델
copyCopyOptions그리드의 내용을 클립보드를 복사하는 것에 대한 설정 모델
dataDropDataDropOptions그리드에서 drag 된 데이터를 처리하는 방식에 대한 설정 모델
displayDisplayOptions그리드 수준에서 관리되는 표시 정보들에 대한 설정 모델
editEditOptions그리드에서의 데이터 편집에 대한 설정 모델
editorEditorOptions그리드 수준에서 관리되는 편집기 정보들에 대한 설정 모델
filteringFilteringOptions컬럼 필터링과 관련된 설정 모델
filterModeFilterMode데이터 수정 이후 필터 동작 모드
filterPanelFilterPanelInline필터창 설정정보
fixedFixedOptions그리드의 고정 행 및 컬럼 영역에 대한 설정 모델
footerGridFooter푸터 영역의 단일 설정 모델
footersGridFooterCollection그리드 푸터 영역에 관한 콜렉션 모델
formatFormatOptions데이터 필드 값의 변환 형식에 대한 설정 모델
headerGridHeader헤더 영역의 설정 모델
headerSummariesHeaderSummaryCollectionHeader summary 영역에 관한 콜렉션 모델
headerSummaryHeaderSummaryHeader Summary 영역의 단일 설정 모델
hideDeletedRowsbooleanDataProvider의 softDeleting이 true일때 삭제된 행들의 숨김 여부
mobileMobileOptions
pastePasteOptions클립보드의 데이터를 그리드에 붙여넣는 것에 관한 설정 모델
rowIndicatorRowIndicator그리드의 인디케이터에 관한 설정 모델
sortingSortingOptions데이터 정렬에 대한 설정 모델
sortModeSortMode데이터 수정 이후 정렬 동작 모드
stateBarStateBar행들의 상태를 표시하는 상태바와 관련된 설정 모델
summaryModeSummaryMode그리드의 각 컬럼의 합계를 계산하는 방식
undoableboolean그리드 편집 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 할수 있다.