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

    Interface CellEvent<T>

    사용자가 셀을 마우스로 조작할 때(클릭·더블클릭·마우스 올림 등) 그 핸들러로 전달되는 정보 묶음입니다. "어느 행·어느 컬럼의 어떤 값이, 어떤 DOM 요소에서, 원래 어떤 브라우저 이벤트로" 일어났는지를 한 번에 담아 주므로 핸들러 안에서 좌표를 다시 계산할 필요가 없습니다. / The payload handed to your handler when the user manipulates a cell with the mouse (click / dbl-click / mouse-over …). It bundles which row & column, what value, which DOM element, and the original browser event — so your handler never has to recompute coordinates. 관련 옵션 / Related options: onCellClick, onCellDblClick, onCellMouseOver …

    interface CellEvent<T = any> {
        column: ColumnDef<T>;
        columnIndex: number;
        field: string;
        originalEvent: MouseEvent;
        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.

    originalEvent: MouseEvent

    브라우저 원본 마우스 이벤트(좌표·수식어 키 등). / The underlying browser mouse event (coords, modifier keys …).

    row: T

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

    rowIndex: number

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

    target: HTMLElement

    실제 클릭된 셀 DOM 요소. / The actual clicked cell DOM element.

    type: string

    이벤트 이름('cellClick' 등). / The event name (e.g. 'cellClick').

    value: any

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