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

> The RowDragEndCommand type of @salmonui/data-grid/engine/row-drag-drop: Ends the drag; dropped: true with another targetGridId removes the rows from this grid.

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

```ts
import type { RowDragEndCommand } 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: type

```ts
type RowDragEndCommand = {
    type: 'rowDragDrop.end';
    dropped?: boolean;
    targetGridId?: string;
};
```

Ends the drag; `dropped: true` with another `targetGridId` removes the rows from this grid.

Members (3):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `type` | `type: 'rowDragDrop.end';` |  |  |
| `dropped` | `dropped?: boolean;` | optional |  |
| `targetGridId` | `targetGridId?: string;` | optional |  |
