# RowPlacement (@salmonui/data)

> The RowPlacement interface of @salmonui/data.

Canonical: https://salmonui.dev/docs/reference/data/RowPlacement

```ts
import type { RowPlacement } from '@salmonui/data';
```

Entry index: https://salmonui.dev/docs/reference/data (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/data.md).

## Reference

Kind: interface

```ts
interface RowPlacement {
    readonly rowIds: readonly RowId[];
    readonly targetRowId: RowId | null;
    readonly position: 'before' | 'after';
    readonly parentId?: RowId | null;
}
```

Members (4):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `rowIds` | `readonly rowIds: readonly RowId[];` |  |  |
| `targetRowId` | `readonly targetRowId: RowId \| null;` |  |  |
| `position` | `readonly position: 'before' \| 'after';` |  |  |
| `parentId` | `readonly parentId?: RowId \| null;` | optional | Tree mode: the new parent of the moved rows (null: roots). |
