# DataGridVirtualization (@salmonui/data-grid)

> The DataGridVirtualization interface of @salmonui/data-grid.

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

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

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

## Reference

Kind: interface

```ts
interface DataGridVirtualization {
    rows?: boolean;
    columns?: boolean;
    rowOverscan?: number;
    columnOverscan?: number;
    maxScrollHeight?: number;
    skeletonRows?: boolean;
}
```

Members (6):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `rows` | `rows?: boolean;` | optional | Row virtualization. Default true. |
| `columns` | `columns?: boolean;` | optional | Column virtualization of the center (unpinned) zone. Default true. |
| `rowOverscan` | `rowOverscan?: number;` | optional | Rows rendered beyond each edge of the viewport. Default 5. |
| `columnOverscan` | `columnOverscan?: number;` | optional | Center columns rendered beyond each edge of the viewport. Default 2. |
| `maxScrollHeight` | `maxScrollHeight?: number;` | optional | Physical scroll height cap; taller content is compressed. Default 15,000,000 px. |
| `skeletonRows` | `skeletonRows?: boolean;` | optional | Shimmer skeleton rows instead of the loading text for rows that are not loaded yet (infinite scroll). Default true. |
