Documentation

@kanunilabs/datagrid


@kanunilabs/datagrid / RowReorderEvent

Interface: RowReorderEvent<TRow>

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

Type Parameters

TRow

TRow = GridRowData

Properties

dragKey

dragKey: RowKey

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


position

position: "before" | "after"

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


row

row: TRow | undefined

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


targetKey

targetKey: RowKey | null

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

Row it was dropped onto, or null for the empty space past the last row.