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;
}
| Name | Signature | Description |
|---|---|---|
rowIds | readonly rowIds: readonly RowId[]; | |
targetRowId | readonly targetRowId: RowId | null; | |
position | readonly position: 'before' | 'after'; | |
parentIdoptional | readonly parentId?: RowId | null; | Tree mode: the new parent of the moved rows (null: roots). |