# DataStatusSnapshot (@salmonui/data-grid/engine)

> The DataStatusSnapshot interface of @salmonui/data-grid/engine.

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

```ts
import type { DataStatusSnapshot } from '@salmonui/data-grid/engine';
```

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

## Reference

Kind: interface

```ts
interface DataStatusSnapshot {
    readonly status: 'idle' | 'loading' | 'ready' | 'error';
    readonly error: unknown;
    readonly totalRowCount: number;
    readonly version: number;
    readonly mode: DataSourceMode;
    readonly performed: readonly PerformedStage[];
    readonly aggregates: AggregateValues | null;
}
```

Members (7):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `status` | `readonly status: 'idle' \| 'loading' \| 'ready' \| 'error';` |  |  |
| `error` | `readonly error: unknown;` |  |  |
| `totalRowCount` | `readonly totalRowCount: number;` |  |  |
| `version` | `readonly version: number;` |  | Version of the request that produced the current rows; 0 before the first result. |
| `mode` | `readonly mode: DataSourceMode;` |  |  |
| `performed` | `readonly performed: readonly PerformedStage[];` |  | Stages the source performed for the current rows (always empty for local and live). |
| `aggregates` | `readonly aggregates: AggregateValues \| null;` |  | Server totals of the current result (`DataSourceResult.aggregates`), or null. |
