# PlusMinusNudge

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

Adds or subtracts a fixed amount from numeric cells.

`Scope` is numeric columns only. The increment key sets the cell to its current value plus `NudgeValue`; the decrement key subtracts `NudgeValue`. Omit `Rule` to apply the nudge on every row in scope. Suspend with `IsSuspended`.

```ts title="TypeScript"
export interface PlusMinusNudge extends SuspendableObject 
```

###### Extends

[`SuspendableObject`](https://www.adaptabletools.com/docs/reference/suspendableobject.md)

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [DecrementKey](https://www.adaptabletools.com/docs/reference/plusminusnudge.md#decrementkey) | `string` | Optional keyboard key that decreases cell values for this nudge only (overrides the<br/>global `decrementKey` in `plusMinusOptions`).<br/><br/>Can be a single key (e.g. `'-'`) or a keyboard shortcut combination that uses `+` as the glue<br/>between parts (e.g. `'shift+Backspace'`, `'ctrl+ArrowDown'`). Supported modifiers are `ctrl`,<br/>`cmd`, `alt` and `shift`. |
| [IncrementKey](https://www.adaptabletools.com/docs/reference/plusminusnudge.md#incrementkey) | `string` | Optional keyboard key that increases cell values for this nudge only (overrides the<br/>global `incrementKey` in `plusMinusOptions`).<br/><br/>Can be a single key (e.g. `'+'`) or a keyboard shortcut combination that uses `+` as the glue<br/>between parts (e.g. `'shift+Enter'`, `'ctrl+ArrowUp'`). Supported modifiers are `ctrl`, `cmd`,<br/>`alt` and `shift`. |
| [Name](https://www.adaptabletools.com/docs/reference/plusminusnudge.md#name) | `string` | Name of the Plus Minus Nudge rule |
| [NudgeValue](https://www.adaptabletools.com/docs/reference/plusminusnudge.md#nudgevalue) | `number` | Amount added by the increment key and subtracted by the decrement key. |
| [Rule](https://www.adaptabletools.com/docs/reference/plusminusnudge.md#rule) | `string` | (Optional) AdapTableQL boolean expression, evaluated per row, to determine whether to apply the Nudge |
| [Scope](https://www.adaptabletools.com/docs/reference/plusminusnudge.md#scope) | [`ColumnScope`](https://www.adaptabletools.com/docs/reference/columnscope.md)`<`[`NumberScopeDataType`](https://www.adaptabletools.com/docs/reference/numberscopedatatype.md)`>` | Numeric columns where the nudge is applied |
| [IsReadOnly](https://www.adaptabletools.com/docs/reference/plusminusnudge.md#isreadonly) | `boolean` | Sets Entity to ReadOnly (overwriting a Strategy Entitlement of &#39;Full&#39;) |
| [IsSuspended](https://www.adaptabletools.com/docs/reference/plusminusnudge.md#issuspended) | `boolean` | Suspends (i.e. turns off) an Adaptable Object |

## Property Details

### DecrementKey

Optional keyboard key that decreases cell values for this nudge only (overrides the
global `decrementKey` in `plusMinusOptions`).

Can be a single key (e.g. `'-'`) or a keyboard shortcut combination that uses `+` as the glue
between parts (e.g. `'shift+Backspace'`, `'ctrl+ArrowDown'`). Supported modifiers are `ctrl`,
`cmd`, `alt` and `shift`.

```ts title="TypeScript"
DecrementKey?: string;
```

###### Property Value

`string`

### IncrementKey

Optional keyboard key that increases cell values for this nudge only (overrides the
global `incrementKey` in `plusMinusOptions`).

Can be a single key (e.g. `'+'`) or a keyboard shortcut combination that uses `+` as the glue
between parts (e.g. `'shift+Enter'`, `'ctrl+ArrowUp'`). Supported modifiers are `ctrl`, `cmd`,
`alt` and `shift`.

```ts title="TypeScript"
IncrementKey?: string;
```

###### Property Value

`string`

### Name

Name of the Plus Minus Nudge rule

```ts title="TypeScript"
Name: string;
```

###### Property Value

`string`

### NudgeValue

Amount added by the increment key and subtracted by the decrement key.

```ts title="TypeScript"
NudgeValue: number;
```

###### Property Value

`number`

### Rule

(Optional) AdapTableQL boolean expression, evaluated per row, to determine whether to apply the Nudge

```ts title="TypeScript"
Rule?: string;
```

###### Property Value

`string`

### Scope

Numeric columns where the nudge is applied

```ts title="TypeScript"
Scope: ColumnScope<NumberScopeDataType>;
```

###### Property Value

[`ColumnScope`](https://www.adaptabletools.com/docs/reference/columnscope.md)`<`[`NumberScopeDataType`](https://www.adaptabletools.com/docs/reference/numberscopedatatype.md)`>`

### IsSuspended

> *Inherited from [SuspendableObject](https://www.adaptabletools.com/docs/reference/suspendableobject.md)*

Suspends (i.e. turns off) an Adaptable Object

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

###### Property Value

`boolean`

### IsReadOnly

> *Inherited from [AdaptableObject](https://www.adaptabletools.com/docs/reference/adaptableobject.md)*

Sets Entity to ReadOnly (overwriting a Strategy Entitlement of &#39;Full&#39;)

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

###### Property Value

`boolean`
