# getDataGridState (@salmonui/data-grid/engine/persistence)

> The getDataGridState function of @salmonui/data-grid/engine/persistence: Reads the persistable state. Parts of unregistered modules are omitted.

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

```ts
import { getDataGridState } from '@salmonui/data-grid/engine/persistence';
```

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

## Reference

Kind: function

```ts
function getDataGridState<Row>(engine: DataGridEngine<Row>, options?: DataGridStateOptions): DataGridState;
```

Reads the persistable state. Parts of unregistered modules are omitted.
