# rowHover

Selects CSS-only hover highlighting, stateful hover with events, or no hover.

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

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

## What does this API do?

Selects CSS-only hover highlighting, stateful hover with events, or no hover.

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

## Exact input and result types

```typescript
rowHover: 'css-only' | 'stateful' | 'off'
```

| Item | Value |
| --- | --- |
| JavaScript name | rowHover |
| HTML attribute | row-hover |
| Default | 'css-only' |
| Input type | 'css-only' \| 'stateful' \| 'off' |

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

## Usage flow

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

- [Follow rows](https://grid.syidax.com/docs/features/row-hover.md) — Row hover highlights the row under the pointer to help users read wide tables. It differs from row selection and does not automatically select a row for business operations.
