# DataGridRowDragPreviewContext (@salmonui/data-grid)

> The DataGridRowDragPreviewContext interface of @salmonui/data-grid: Context of renderRowDragPreview.

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

```ts
import type { DataGridRowDragPreviewContext } 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 DataGridRowDragPreviewContext<Row> {
    readonly rowIds: readonly RowId[];
    readonly rows: readonly Row[];
}
```

Context of `renderRowDragPreview`.

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `rowIds` | `readonly rowIds: readonly RowId[];` |  |  |
| `rows` | `readonly rows: readonly Row[];` |  |  |
