View as Markdown

API reference: @salmonui/data-grid/engine

RowDragPayloadinterface

import type { RowDragPayload } from '@salmonui/data-grid/engine';

Also exported from @salmonui/data-grid/engine/row-drag-drop.

interface RowDragPayload<Row = unknown> {
    readonly token: string;
    readonly sourceGridId: string;
    readonly rowIds: readonly RowId[];
    readonly rows: readonly Row[];
}
RowDragPayload members (4)
NameSignatureDescription
tokenreadonly token: string;
sourceGridIdreadonly sourceGridId: string;
rowIdsreadonly rowIds: readonly RowId[];
rowsreadonly rows: readonly Row[];

Row objects by reference (volatile, never serialized).