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

    Interface RowEvent<T>

    셀이 아니라 "행 전체"를 마우스로 조작했을 때(행 클릭·더블클릭·마우스 올림 등) 오는 정보입니다. 컬럼 정보 없이 어느 행인지와 그 행 데이터만 필요할 때 CellEvent 보다 가볍게 씁니다.

    Delivered when the user manipulates a whole row (row click / dbl-click / mouse-over …). Lighter than CellEvent for when you only need which row and its data, not the column.

    セルではなく「行全体」をマウスで操作したとき(行のクリック・ダブルクリック・マウスオーバーなど)に届く 情報です。列の情報なしに、どの行かとその行データだけが必要なときに、CellEvent より軽く使えます。

    관련 옵션: onRowClick, onRowDblClick, onRowMouseOver …

    Related options: onRowClick, onRowDblClick, onRowMouseOver …

    関連オプション: onRowClick, onRowDblClick, onRowMouseOver …

    用户用鼠标操作的不是单元格而是「整行」时(行点击、双击、鼠标移入等)送达的信息。当只需要知道是哪一行 及其行数据、不需要列信息时,它比 CellEvent 更轻。

    相关选项: onRowClick, onRowDblClick, onRowMouseOver …

    interface RowEvent<T = any> {
        originalEvent: MouseEvent;
        row: T;
        rowIndex: number;
        target: HTMLElement;
        type: string;
    }

    Type Parameters

    • T = any

      행 데이터 타입

      Row data type

      行データの型

      行数据的类型

    Index

    Properties

    originalEvent: MouseEvent

    브라우저 원본 마우스 이벤트.

    The underlying browser mouse event.

    ブラウザ本来のマウスイベント。

    浏览器原始的鼠标事件。

    row: T

    그 행의 데이터 객체 전체.

    The full row-data object.

    その行のデータオブジェクト全体。

    该行完整的数据对象。

    rowIndex: number

    대상 행의 화면 표시 순서 인덱스.

    Screen-order index of the target row.

    対象行の画面表示順のインデックス。

    目标行按屏幕显示顺序的索引。

    target: HTMLElement

    이벤트가 일어난 행 DOM 요소.

    The row DOM element where the event occurred.

    イベントが起きた行のDOM要素。

    事件发生所在的行 DOM 元素。

    type: string

    이벤트 이름('rowClick' 등).

    The event name (e.g. 'rowClick').

    イベント名('rowClick' など)。

    事件名(如 'rowClick')。