# DropPoint (@salmonui/data-grid/engine)

> The DropPoint interface of @salmonui/data-grid/engine: Where a pointer is over the visible row model.

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

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

Also exported from `@salmonui/data-grid/engine/row-drag-drop`.

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

## Reference

Kind: interface

```ts
interface DropPoint {
    readonly index: number;
    readonly rowId: RowId | null;
    readonly kind: RowKind;
    readonly position: DropPosition;
    readonly groupId: RowId | null;
    readonly parentId?: RowId | null;
}
```

Where a pointer is over the visible row model.

Members (6):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `index` | `readonly index: number;` |  | Visible index (clamped); `count` when the model is empty. |
| `rowId` | `readonly rowId: RowId \| null;` |  | Id of the row under the pointer, or null for an empty model. |
| `kind` | `readonly kind: RowKind;` |  |  |
| `position` | `readonly position: DropPosition;` |  |  |
| `groupId` | `readonly groupId: RowId \| null;` |  | Group (caption row id) the drop lands in, or null when ungrouped. |
| `parentId` | `readonly parentId?: RowId \| null;` | optional | Tree mode: the parent the dropped rows join (null: roots); absent outside tree mode. |
