Documentation

@kanunilabs/datagrid-react


@kanunilabs/datagrid-react / RowReorderEvent

Interface: RowReorderEvent<TRow>

Defined in: datagrid-react/src/hooks/useRowDrag.ts:39

Type Parameters

TRow

TRow = GridRowData

Properties

dragKey

dragKey: RowKey

Defined in: datagrid-react/src/hooks/useRowDrag.ts:40


position

position: "before" | "after"

Defined in: datagrid-react/src/hooks/useRowDrag.ts:43


row

row: TRow | undefined

Defined in: datagrid-react/src/hooks/useRowDrag.ts:44


targetKey

targetKey: RowKey | null

Defined in: datagrid-react/src/hooks/useRowDrag.ts:42

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