View as Markdown

API reference: @salmonui/data-grid

DataGridMoveTargetinterface

import type { DataGridMoveTarget } from '@salmonui/data-grid';
interface DataGridMoveTarget {
    readonly targetRowId: RowId;
    readonly position: 'before' | 'after' | 'into';
}

Target of moveRows(rowIds, { targetRowId, position }).

DataGridMoveTarget members (2)
NameSignatureDescription
targetRowIdreadonly targetRowId: RowId;
positionreadonly position: 'before' | 'after' | 'into';