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

    Interface CellKeyEvent<T>

    셀에 포커스가 있는 상태에서 키를 눌렀을 때(키 다운·업·프레스) 오는 정보입니다. CellEvent 가 담는 행·컬럼·값에 더해, 눌린 키 이름(key)을 함께 주므로 Enter 이동·Delete 지우기 같은 단축키를 직접 구현할 수 있습니다. / Delivered when a key is pressed while a cell has focus (keydown/keyup/keypress). On top of the row/column/value that CellEvent carries, it adds the pressed key name so you can build shortcuts like Enter-to-move or Delete-to-clear. 관련 옵션 / Related options: onCellKeyDown, onCellKeyUp, onCellKeyPress

    interface CellKeyEvent<T = any> {
        column: ColumnDef<T>;
        columnIndex: number;
        field: string;
        key: string;
        originalEvent: KeyboardEvent;
        row: T;
        rowIndex: number;
        target: HTMLElement;
        type: string;
        value: any;
    }

    Type Parameters

    • T = any

      행 데이터 타입 / Row data type

    Index

    Properties

    column: ColumnDef<T>

    그 컬럼의 정의. / The column's definition.

    columnIndex: number

    대상 컬럼의 인덱스. / Index of the target column.

    field: string

    대상 컬럼의 field 이름. / field name of the target column.

    key: string

    눌린 키 이름(KeyboardEvent.key: 'Enter','ArrowDown','a' …). / The pressed key name (KeyboardEvent.key).

    originalEvent: KeyboardEvent

    브라우저 원본 키보드 이벤트(수식어 키 등). / The underlying browser keyboard event (modifier keys …).

    row: T

    그 행의 데이터 객체 전체. / The full row-data object.

    rowIndex: number

    대상 행의 화면 표시 순서 인덱스. / Screen-order index of the target row.

    target: HTMLElement

    이벤트가 일어난 셀 DOM 요소. / The cell DOM element where the event occurred.

    type: string

    이벤트 이름('cellKeyDown' 등). / The event name.

    value: any

    그 셀의 원시 값. / Raw value of that cell.