API reference: @salmonui/data-grid/engine
DataStatusSnapshotinterface
import type { DataStatusSnapshot } from '@salmonui/data-grid/engine';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;
}
| Name | Signature | 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 ( |