# DataGridAdaptiveProps (@salmonui/data-grid)

> The DataGridAdaptiveProps interface of @salmonui/data-grid.

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

```ts
import type { DataGridAdaptiveProps } 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 DataGridAdaptiveProps {
    adaptive?: boolean | DataGridAdaptive;
    onBeforeAdaptiveDialogOpen?: (event: DataGridAdaptiveDialogOpenEvent) => void;
}
```

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `adaptive` | `adaptive?: boolean \| DataGridAdaptive;` | optional | Adaptive UI (`enableAdaptiveUI`, `adaptiveUIMode`, `rowRenderingMode`): full-screen sheets for menus and dialogs, 44 px touch targets, touch long-press, and optional vertical (card) rows. `true` is `{ target: 'both' }`. |
| `onBeforeAdaptiveDialogOpen` | `onBeforeAdaptiveDialogOpen?: (event: DataGridAdaptiveDialogOpenEvent) => void;` | optional |  |
