PlusMinusNudge

View as Markdown

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.

TypeScript
export interface PlusMinusNudge extends
Extends

SuspendableObject

Properties

PropertyTypeDescription
DecrementKeystringOptional 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.
IncrementKeystringOptional 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.
NamestringName of the Plus Minus Nudge rule
NudgeValuenumberAmount added by the increment key and subtracted by the decrement key.
Rulestring(Optional) AdapTableQL boolean expression, evaluated per row, to determine whether to apply the Nudge
ScopeColumnScope<NumberScopeDataType>Numeric columns where the nudge is applied
IsReadOnlybooleanSets Entity to ReadOnly (overwriting a Strategy Entitlement of 'Full')
IsSuspendedbooleanSuspends (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.

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.

TypeScript
IncrementKey?: string;
Property Value

string

Name

Name of the Plus Minus Nudge rule

TypeScript
Name: string;
Property Value

string

NudgeValue

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

TypeScript
NudgeValue: number;
Property Value

number

Rule

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

TypeScript
Rule?: string;
Property Value

string

Scope

Numeric columns where the nudge is applied

TypeScript
Scope: ColumnScope<NumberScopeDataType>;
Property Value

ColumnScope<NumberScopeDataType>

IsSuspended

Inherited from SuspendableObject

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

TypeScript
IsSuspended?: boolean;
Property Value

boolean

IsReadOnly

Inherited from AdaptableObject

Sets Entity to ReadOnly (overwriting a Strategy Entitlement of 'Full')

TypeScript
IsReadOnly?: boolean;
Property Value

boolean