@kanunilabs/datagrid-react / RowDragPayload
Interface: RowDragPayload
Defined in: datagrid-react/src/hooks/useRowDrag.ts:29
What travels in dataTransfer when a row leaves its grid.
Properties
gridId
gridId:
string
Defined in: datagrid-react/src/hooks/useRowDrag.ts:31
Grid the row started in — a same-grid drop is a REORDER, not a move.
group
group:
string|null
Defined in: datagrid-react/src/hooks/useRowDrag.ts:33
Only grids sharing a group exchange rows.
row
row:
unknown
Defined in: datagrid-react/src/hooks/useRowDrag.ts:36
The row itself, so the receiving grid can insert it without a round trip.
rowKey
rowKey:
RowKey
Defined in: datagrid-react/src/hooks/useRowDrag.ts:34