# rowHeight

Default row height in pixels. Choose a size suitable for text, cell editors, and touch targets.

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

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

## What does this API do?

Default row height in pixels. Choose a size suitable for text, cell editors, and touch targets.

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

## Exact input and result types

```typescript
rowHeight: number
```

| Item | Value |
| --- | --- |
| JavaScript name | rowHeight |
| HTML attribute | row-height |
| Default | 32 |
| Input type | number |

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

## Usage flow

Set this on a property of the Grid element. In HTML, you can also use the row-height attribute. 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.
