# StickyRowsConfig

> _Since v2.7.0_

Configuration for StickyRowsPlugin.

#### Example

```ts
import '@toolbox-web/grid/features/sticky-rows';
grid.gridConfig = { features: { stickyRows: { isSticky: 'isSection' } } };
```

## Properties

| Property | Type | Description |
| -------- | ---- | ----------- |
| `isSticky` | <code>string &#124; <a href="/grid/plugins/sticky-rows/types/stickypredicate/">StickyPredicate</a></code> | Either a field name on the row (truthy value marks the row as sticky) or a predicate that returns a truthy/falsy value per row. |
| `mode?` | <code><a href="/grid/plugins/sticky-rows/types/stickyrowsmode/">StickyRowsMode</a></code> | Behavior when multiple sticky rows would be stuck simultaneously. |
| `maxStacked?` | <code>number</code> | Maximum number of rows stacked below the header in `'stack'` mode. Ignored in `'push'` mode (which is always 1). |
| `className?` | <code>string</code> | Optional class added to the stuck-row clones for custom styling. |

### Property Details

#### mode

**Default:** `'push'`

---

#### maxStacked

**Default:** `Infinity`

---
