Documentation

@kanunilabs/datagrid


@kanunilabs/datagrid / RowMenuContext

Interface: RowMenuContext<TRow>

Defined in: datagrid/src/createGrid.ts:235

What a row menu is opened against — the React shape, verbatim.

Type Parameters

TRow

TRow = GridRowData

Properties

columnId

columnId: string | null

Defined in: datagrid/src/createGrid.ts:241

Column under the pointer, when the menu was opened from a cell.


node

node: RowNode<TRow>

Defined in: datagrid/src/createGrid.ts:237


row

row: TRow

Defined in: datagrid/src/createGrid.ts:236


rowIndex

rowIndex: number

Defined in: datagrid/src/createGrid.ts:239

Index in the current view.


selectedKeys

selectedKeys: RowKey[]

Defined in: datagrid/src/createGrid.ts:243

Selected row keys at the moment the menu opened.