# RemotePivotEngineOptions (@salmonui/data/json)

> The RemotePivotEngineOptions interface of @salmonui/data/json.

Canonical: https://salmonui.dev/docs/reference/data/json/RemotePivotEngineOptions

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

Also exported from `@salmonui/data`.

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

## Reference

Kind: interface

```ts
interface RemotePivotEngineOptions {
    readonly model?: WirePivotModel;
    readonly where?: WirePredicate;
    readonly locale?: string;
    readonly window?: WirePivotWindow;
    readonly overscan?: {
        readonly rows?: number;
        readonly columns?: number;
    };
    readonly maxBlocks?: number;
    readonly formatValue?: (value: number, measure: string | null, model: WirePivotModel) => string;
}
```

Members (7):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `model` | `readonly model?: WirePivotModel;` | optional |  |
| `where` | `readonly where?: WirePredicate;` | optional | Pre-aggregation filter over raw rows. |
| `locale` | `readonly locale?: string;` | optional |  |
| `window` | `readonly window?: WirePivotWindow;` | optional | First window. Default 100 rows × 50 columns. |
| `overscan` | `readonly overscan?: {     readonly rows?: number;     readonly columns?: number; };` | optional | Positions loaded beyond a requested window on each side. Default 40 rows, 10 columns. |
| `maxBlocks` | `readonly maxBlocks?: number;` | optional | Loaded windows kept per result. Default 16. |
| `formatValue` | `readonly formatValue?: (value: number, measure: string \| null, model: WirePivotModel) => string;` | optional | Cell text (default: `Intl.NumberFormat` with `model.formats[measure].number`). |
