# getDataGridInitialRange (@salmonui/data-grid/server)

> The getDataGridInitialRange function of @salmonui/data-grid/server: The deterministic range DataGrid renders on the server and during hydration, before the viewport is measured. Server work and markup depend on this range only, never on the total row count.

Canonical: https://salmonui.dev/docs/reference/data-grid/server/getDataGridInitialRange

```ts
import { getDataGridInitialRange } from '@salmonui/data-grid/server';
```

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

## Reference

Kind: function

```ts
function getDataGridInitialRange(options: DataGridInitialRangeOptions): DataGridInitialRange;
```

The deterministic range `DataGrid` renders on the server and during hydration,
before the viewport is measured. Server work and markup depend on
this range only, never on the total row count.
