OPEN_GRID API - v1.3.1
    Preparing search index...

    Interface EditorDef

    편집기를 어떻게 열지 자세히 지정합니다. 예를 들어 select 편집기에 선택지 목록을, number 편집기에 최소·최대·증가폭을 함께 줄 때 씁니다(column.editor 에 이 객체를 넘김). / Detailed spec for how the editor opens — e.g. a select editor's choices, or a number editor's min/max/step (passed to column.editor).

    interface EditorDef {
        format?: string;
        max?: number;
        min?: number;
        multiple?: boolean;
        options?: (string | { label: string; value: any })[];
        placeholder?: string;
        step?: number;
        type: EditorType;
        [key: string]: any;
    }

    Indexable

    • [key: string]: any

      편집기별 추가 옵션(자유 키). / Editor-specific extra options (free-form keys).

    Index

    Properties

    format?: string

    입력값 포맷 문자열. / Format string for the input value.

    max?: number

    number 편집기의 최댓값. / Maximum for a number editor.

    min?: number

    number 편집기의 최솟값. / Minimum for a number editor.

    multiple?: boolean

    select 에서 다중 선택 허용. / Allow multiple selection in select.

    options?: (string | { label: string; value: any })[]

    select 편집기의 선택지(문자열 또는 {label,value}). / Choices for a select editor.

    placeholder?: string

    빈 편집기에 보일 안내 문구. / Placeholder shown in an empty editor.

    step?: number

    number 편집기의 증가 단위. / Step increment for a number editor.

    type: EditorType

    사용할 내장 편집기 이름. / Which built-in editor to use.