# RuleAlertProperties

Canonical page: https://www.adaptabletools.com/docs/reference/rulealertproperties

Properties for rule-based alerts (presentation plus grid behaviours)

```ts title="TypeScript"
export interface RuleAlertProperties extends AlertPresentationProperties 
```

###### Extends

[`AlertPresentationProperties`](https://www.adaptabletools.com/docs/reference/alertpresentationproperties.md)

## Properties

| Property | Type | Description | Default |
| --- | --- | --- | --- |
| [HighlightCell](https://www.adaptabletools.com/docs/reference/rulealertproperties.md#highlightcell) | `boolean \| `[`AdaptableStyle`](https://www.adaptabletools.com/docs/reference/adaptablestyle.md) | Colours the cell that triggered the alert. `true` uses the colour for `MessageType`. An  is applied instead of that colour. |   |
| [HighlightRow](https://www.adaptabletools.com/docs/reference/rulealertproperties.md#highlightrow) | `boolean \| `[`AdaptableStyle`](https://www.adaptabletools.com/docs/reference/adaptablestyle.md) | Colours the row that triggered the alert. `true` uses the colour for `MessageType`. An  is applied instead of that colour. |   |
| [JumpToCell](https://www.adaptabletools.com/docs/reference/rulealertproperties.md#jumptocell) | `boolean` | Grid will &#39;jump&#39; to the changed cell which triggered the Alert |   |
| [JumpToRow](https://www.adaptabletools.com/docs/reference/rulealertproperties.md#jumptorow) | `boolean` | Grid will &#39;jump&#39; to the newly added row which triggered the Alert |   |
| [PreventEdit](https://www.adaptabletools.com/docs/reference/rulealertproperties.md#preventedit) | `boolean` | Automatically prevent any cell edit which triggered the Alert (i.e. validation) | false |

## Property Details

### HighlightCell

Colours the cell that triggered the alert. `true` uses the colour for `MessageType`. An  is applied instead of that colour.

```ts title="TypeScript"
HighlightCell?: boolean | AdaptableStyle;
```

###### Property Value

`boolean | `[`AdaptableStyle`](https://www.adaptabletools.com/docs/reference/adaptablestyle.md)

### HighlightRow

Colours the row that triggered the alert. `true` uses the colour for `MessageType`. An  is applied instead of that colour.

```ts title="TypeScript"
HighlightRow?: boolean | AdaptableStyle;
```

###### Property Value

`boolean | `[`AdaptableStyle`](https://www.adaptabletools.com/docs/reference/adaptablestyle.md)

### JumpToCell

Grid will &#39;jump&#39; to the changed cell which triggered the Alert

```ts title="TypeScript"
JumpToCell?: boolean;
```

###### Property Value

`boolean`

### JumpToRow

Grid will &#39;jump&#39; to the newly added row which triggered the Alert

```ts title="TypeScript"
JumpToRow?: boolean;
```

###### Property Value

`boolean`

### PreventEdit

Automatically prevent any cell edit which triggered the Alert (i.e. validation)

```ts title="TypeScript"
PreventEdit?: boolean;
```

###### Default Value

false

###### Property Value

`boolean`
