# resolvePlacement (@salmonui/data-grid/engine/row-drag-drop)

> The resolvePlacement function of @salmonui/data-grid/engine/row-drag-drop: Data placement of a drop point: a data row id and before / after; null when the group is empty or unknown.

Canonical: https://salmonui.dev/docs/reference/data-grid/engine-row-drag-drop/resolvePlacement

```ts
import { resolvePlacement } from '@salmonui/data-grid/engine/row-drag-drop';
```

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

## Reference

Kind: function

```ts
function resolvePlacement<Row>(model: RowModelSnapshot<Row>, point: DropPoint): {
    readonly targetRowId: RowId | null;
    readonly position: 'before' | 'after';
    readonly groupId: RowId | null;
} | null;
```

Data placement of a drop point: a data row id and `before` / `after`; null when the group is empty or unknown.
