# DataGridState (@salmonui/data)

> The DataGridState interface of @salmonui/data: Structural subset of the Data Grid engine's DataGridState used by the storage adapters.

Canonical: https://salmonui.dev/docs/reference/data/DataGridState

```ts
import type { DataGridState } from '@salmonui/data';
```

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

## Reference

Kind: interface

```ts
interface DataGridState {
    readonly version: number;
    readonly [key: string]: unknown;
}
```

Structural subset of the Data Grid engine's `DataGridState` used by the storage adapters.

Members (1):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `version` | `readonly version: number;` |  | Schema version of the state (Data Grid engine `DATA_GRID_STATE_VERSION`). |
