View as Markdown

API reference: @salmonui/data

RowPlacementinterface

import type { RowPlacement } from '@salmonui/data';
interface RowPlacement {
    readonly rowIds: readonly RowId[];
    readonly targetRowId: RowId | null;
    readonly position: 'before' | 'after';
    readonly parentId?: RowId | null;
}
RowPlacement members (4)
NameSignatureDescription
rowIdsreadonly rowIds: readonly RowId[];
targetRowIdreadonly targetRowId: RowId | null;
positionreadonly position: 'before' | 'after';
parentIdoptionalreadonly parentId?: RowId | null;

Tree mode: the new parent of the moved rows (null: roots).