EditorOptions
그리드 수준에서 관리되는 편집기 정보들에 대한 설정 모델
Signature:
export interface EditorOptions Remarks
그리드 에서 옵션으로 설정할 때는 필요한 정보만 넣으면 된다.
months 속성이 지정되면 monthDisplayFormat 속성은 무시된다.
Example
grid.setEditorOptions({yearDisplayFormat: "{Y} year"});Properties
| Property | Type | Description |
|---|---|---|
| dateCellEditor | DateCellEditor | dateCellEditor의 기본설정을 지정한다. |
| dropdownCellEditor | DropDownCellEditor | dropdownCellEditor의 기본설정을 지정한다. |
| holidays | Holidays | 표시되는 공휴일 |
| monthDisplayFormat | string | 달력 팝업에서의 월의 표시 형태 |
| months | string[] | 달력 팝업에서의 월의 표시 형태 |
| multiCheckCellEditor | MultiCheckCellEditor | multicheckCellEditor의 기본설정을 지정한다. |
| numberCellEditor | NumberCellEditor | numberCellEditor의 기본설정을 지정한다. |
| searchCellEditor | SearchCellEditor | searchCellEditor의 기본설정을 지정한다. |
| showMarquee | boolean | mobile기기에서 List Editor를 화면 가운데 표시할지 여부 |
| titleStatement | string | (ALPHA) 편집기의 제목 문구 |
| viewGridInside | boolean | 그리드 DOM 내부에 포함시킬 것인지의 여부 |
| weekDays | string[] | 달력 팝업에서의 요일의 표시 형태 |
| yearDisplayFormat | string | 달력 팝업에서의 년의 표시 형태 |
Properties Desc
dateCellEditor
dateCellEditor의 기본설정을 지정한다.
Type - DateCellEditor
dropdownCellEditor
dropdownCellEditor의 기본설정을 지정한다.
Type - DropDownCellEditor
holidays
표시되는 공휴일
Type - Holidays
monthDisplayFormat
달력 팝업에서의 월의 표시 형태
Type - string
Remarks:
"월"에 대한 문구만 수정 가능 months 속성이 지정되면 본 속성은 무시 ex) {M} Month
months
달력 팝업에서의 월의 표시 형태
Type - string[]
Remarks:
ex) ['Jan', 'Feb', 'Mar', 'Apr', ...]
multiCheckCellEditor
multicheckCellEditor의 기본설정을 지정한다.
Type - MultiCheckCellEditor
numberCellEditor
numberCellEditor의 기본설정을 지정한다.
Type - NumberCellEditor
searchCellEditor
searchCellEditor의 기본설정을 지정한다.
Type - SearchCellEditor
showMarquee
mobile기기에서 List Editor를 화면 가운데 표시할지 여부
Type - boolean
titleStatement
편집기의 제목 문구
Type - string
viewGridInside
그리드 DOM 내부에 포함시킬 것인지의 여부
Type - boolean
Remarks:
editor element 가 그리드 element 내부에 생성되어 브라우저가 스크롤 되는 경우 함께 스크롤 된다.
weekDays
달력 팝업에서의 요일의 표시 형태
Type - string[]
Remarks:
ex) ['Mon', 'Tue', 'Wed', 'Thu', ...]
yearDisplayFormat
달력 팝업에서의 년의 표시 형태
Type - string
Remarks:
"년"에 대한 문구만 수정 가능 ex) {Y} Year