# DataGridMoveTarget (@salmonui/data-grid)

> The DataGridMoveTarget interface of @salmonui/data-grid: Target of moveRows(rowIds, { targetRowId, position }).

Canonical: https://salmonui.dev/docs/reference/data-grid/DataGridMoveTarget

```ts
import type { DataGridMoveTarget } from '@salmonui/data-grid';
```

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

## Reference

Kind: interface

```ts
interface DataGridMoveTarget {
    readonly targetRowId: RowId;
    readonly position: 'before' | 'after' | 'into';
}
```

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

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `targetRowId` | `readonly targetRowId: RowId;` |  |  |
| `position` | `readonly position: 'before' \| 'after' \| 'into';` |  |  |
