# height

Sets the Grid container height as a number or CSS length. Account for virtual scrolling and bottom tools.

Canonical: https://grid.syidax.com/docs/options/height/

<a id="meaning"></a>

## What does this API do?

Sets the Grid container height as a number or CSS length. Account for virtual scrolling and bottom tools.

<a id="contract"></a>

## Exact input and result types

```typescript
height: string | number
```

| Item | Value |
| --- | --- |
| JavaScript name | height |
| HTML attribute | height |
| Default | undefined |
| Input type | string \| number |

<a id="usage"></a>

## Usage flow

Set this on a property of the Grid element. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.

<a id="recipes"></a>

## Feature explanations and examples

- [Large data sets](https://grid.syidax.com/docs/features/virtualization.md) — Virtualization renders only row and column DOM needed near the viewport. It is separate from row models that fetch only part of the data from a server.
