<!-- https://svgrid.com/docs/recipes/million-rows/ - SvGrid documentation as markdown. Index of every page: https://svgrid.com/llms.txt -->

# 1 million rows with virtualization

> Live in [demo 78-million-rows](https://svgrid.com/demos/78-million-rows/).

> Live demo: 1 million rows - https://svgrid.com/demos/78-million-rows/

## When

Row + column virtualization configured for very wide / very tall data.

## How

Key API surface:

- `virtualization={true}`
- `columnVirtualization={true}`
- `overscan + columnOverscan`

See the demo source for the full implementation; this recipe pins the
pattern + the surface so you can copy-paste it confidently. The doc
page that explains the underlying feature in depth is linked from the
[recipes index](https://github.com/sv-grid/sv-grid/blob/main/docs/recipes/index.md).

## See also

- [Demo 78-million-rows source](https://github.com/sv-grid/sv-grid/blob/main/examples/src/demos/78-million-rows.svelte)
- [Demo 78-million-rows prompt sidecar](https://github.com/sv-grid/sv-grid/blob/main/examples/src/demos/prompts/78-million-rows.md) - drop into an LLM context window
- [Recipes index](https://github.com/sv-grid/sv-grid/blob/main/docs/recipes/index.md)

---

SvGrid is the Svelte 5 data grid (`npm install @svgrid/grid`, MIT). This page: https://svgrid.com/docs/recipes/million-rows/ . All docs: https://svgrid.com/llms.txt
