Description

그리드 전체에 대한 설정

Properties

summaryMode
Type: SummaryMode
Default: SummaryMode.AGGREGATE

hideDeletedRows
Type: Boolean
Default: false
삭제된 행의 표시 여부를 지정한다.

sortMode
Type: String
Default: “auto”
“explicit”를 사용하면 정렬된 데이터가 수정되었을때 명시적으로 소트를 수행해야 재정렬된다.

filterMode
Type: String
Default: “auto”
“explicit”를 사용하면 필터링된 데이터가 수정되었을때 명시적으로 필터링을 해야 재필터링 된다.

filterOr
Type: Boolean
Default: false
true를 지정하면 각 컬럼의 필터간 필터링이 or 조건으로 반영되어 표시된다.
RealGridJS 1.1.29 이상부터 지원한다.

currentChangingFirst
Type: Boolean
Default: false
true를 onCurrentChanging Event가 hideEditor보다 먼저 발생하고 false를 return하면 editor가 사라지지 않는다.
RealGridJS 1.1.29 이상부터 지원한다.

backgroundImage
Type: BackgroundImage
Default: null
그리드에 배경 이미지를 설정한다.
RealGridJS 1.1.30 이상부터 지원한다.

keepNullFocus
Type: Boolean
Default: false
true로 지정하면 포커스가 없는 상태에서 데이터 채움시 첫번째 셀로 포커스가 이동하지 않는다.
RealGridJS 1.1.30 이상부터 지원한다.

resizeDelay
Type: Number
Default: 250
리얼그리드가 리사이즈 될때 다시 그리기까지의 지연시간을 지정한다.
RealGridJS 1.1.30 이상부터 지원한다.

checkBar
Type: checkBar
CheckBar를 설정한다.

copy
Type: copyOptions
CopyOption을 설정한다.

display
Type: displayOptions
DisplayOption을 설정한다.

edit
Type: editOptions
EditOption을 설정한다.

filtering
Type: filteringOptions
FilteringOption을 설정한다.

fixed
Type: fixedOptions
FixedOption을 설정한다.

grouping
Type: groupingOptions
GroupingOption을 설정한다.

header
Type: header
Header를 설정한다.

indicator
Type: indicator
Indicator를 설정한다.

panel
Type: panel
Panel을 설정한다.

paste
Type: pasteOptions
PasteOption을 설정한다.

rowGroup
Type: rowGroupOptions
RowGroupOption은 설정한다.

select
Type: selectOptions
SelectOption을 설정한다.

sorting
Type: sortingOptions
SortingOption을 설정한다.

stateBar
Type: stateBar
StateBar을 설정한다.

Example

gridView.setOptions({
    hideDeletedRows: true,
    sortMode: "explicit",
    filterMode: "explicit",
    display: {
        fitStyle: "evenFill"
    },
    fixed: {
        colCount: 3
    }
});