EditorOptions
Configuration model for editor information managed at the grid level
Signature:
export interface EditorOptions
Remarks
When setting it as an option in Grid, you only need to enter the necessary information.
If the months property is specified, the monthDisplayFormat property is ignored.
Example
grid.setEditorOptions({yearDisplayFormat: "{Y} year"});
Properties
Property | Type | Description |
---|---|---|
dateCellEditor | DateCellEditor | Specifies the default settings of dateCellEditor. |
dropdownCellEditor | DropDownCellEditor | Specifies the default settings of dropdownCellEditor. |
holidays | Holidays | Public holidays displayed |
monthDisplayFormat | string | Month display format in calendar pop-up |
months | string[] | Month display format in calendar pop-up |
multiCheckCellEditor | MultiCheckCellEditor | Specifies the basic settings of multicheckCellEditor. |
numberCellEditor | NumberCellEditor | Specifies the basic settings of numberCellEditor. |
searchCellEditor | SearchCellEditor | Specifies the basic settings of searchCellEditor. |
showMarquee | boolean | Whether to display the List Editor in the center of the screen on mobile devices |
titleStatement | string | (ALPHA) Editor's title text |
viewGridInside | boolean | Whether to include it inside the grid DOM |
weekDays | string[] | Day display format in calendar pop-up |
yearDisplayFormat | string | Year display format in calendar pop-up |
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