Used to define a Shortcut as used in Shortcut State

TypeScript
export interface Shortcut extends
Extends

SuspendableObject

Properties

PropertyDescription
NameName of the Shortcut
ScopeNumeric Columns where Shortcut is applied
ShortcutKeyKey which triggers the Shortcut when pressed
ShortcutOperationThe Operation: 'Add', 'Subtract', 'Multiply', 'Divide'
ShortcutValueValue acting as 2nd operand for ShortcutOperation (1st operand is the cell value)
IsReadOnlySets Entity to ReadOnly (overwriting a Strategy Entitlement of 'Full')
IsSuspendedSuspends (i.e. turns off) an Adaptable Object

Property Details

Name

Name of the Shortcut

TypeScript
Name: string;
Property Value

string

Scope

Numeric Columns where Shortcut is applied

TypeScript
Scope: ColumnScope<ShortcutScopeDataType>;
Property Value

ColumnScope<ShortcutScopeDataType>

ShortcutKey

Key which triggers the Shortcut when pressed

TypeScript
ShortcutKey: string;
Property Value

string

ShortcutOperation

The Operation: 'Add', 'Subtract', 'Multiply', 'Divide'

TypeScript
ShortcutOperation: 'Add' | 'Subtract' | 'Multiply' | 'Divide';
Property Value

'Add' | 'Subtract' | 'Multiply' | 'Divide'

ShortcutValue

Value acting as 2nd operand for ShortcutOperation (1st operand is the cell value)

TypeScript
ShortcutValue: number;
Property Value

number

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