Documentation

@kanunilabs/datagrid-react


@kanunilabs/datagrid-react / RowDragPayload

Interface: RowDragPayload

What travels in dataTransfer when a row leaves its grid.

Properties

gridId

gridId: string

Grid the row started in — a same-grid drop is a REORDER, not a move.


group

group: string | null

Only grids sharing a group exchange rows.


row

row: unknown

The row itself, so the receiving grid can insert it without a round trip.


rowKey

rowKey: RowKey