# ScrollToRowOptions

> _Since v1.23.0_

Options for the PublicGrid.scrollToRow method.

#### Example

```typescript
grid.scrollToRow(42, { align: 'center', behavior: 'smooth' });
```

## Properties

| Property | Type | Description |
| -------- | ---- | ----------- |
| `align?` | <code>center &#124; start &#124; end &#124; nearest</code> | Where to position the row in the viewport. |
| `behavior?` | <code>smooth &#124; instant</code> | Scroll behavior. |
