View as Markdown

API reference: @salmonui/data-grid

DataGridRowDragPreviewContextinterface

import type { DataGridRowDragPreviewContext } from '@salmonui/data-grid';
interface DataGridRowDragPreviewContext<Row> {
    readonly rowIds: readonly RowId[];
    readonly rows: readonly Row[];
}

Context of renderRowDragPreview.

DataGridRowDragPreviewContext members (2)
NameSignatureDescription
rowIdsreadonly rowIds: readonly RowId[];
rowsreadonly rows: readonly Row[];