RowChangeAlertDefinition

View as Markdown

Alert that fires when a row is added to or removed from the grid.

Set Type to 'RowChange' and RowChangeTrigger to 'Added' or 'Removed'. Scope is { All: true }. Rule is an optional per-row boolean expression ([make] = 'Toyota'); when it is omitted every matching row event fires.

TypeScript
export interface RowChangeAlertDefinition extends
Extends

AlertDefinitionBase

Properties

PropertyTypeDescription
AlertFormstring |AlertButtonFormForm to display in Alert with buttons and inputs
AlertPropertiesRuleAlertPropertiesProperties which set what happens when the Alert is triggered (notification and grid behaviours)
RowChangeTrigger'Added' | 'Removed'Which row event fires the Alert.
RulestringOptional boolean expression evaluated on the added / removed row; when
absent every row event fires.
ScopeColumnScopeKept for uniformity with the other grid Alerts; Row Change Alerts apply
to the whole row ({ All: true }).
Type'RowChange'
IsReadOnlybooleanSets Entity to ReadOnly (overwriting a Strategy Entitlement of 'Full')
IsSuspendedbooleanSuspends (i.e. turns off) an Adaptable Object

Property Details

AlertForm

Form to display in Alert with buttons and inputs

TypeScript
AlertForm?: string | AlertButtonForm;
Property Value

string |AlertButtonForm

AlertProperties

Properties which set what happens when the Alert is triggered (notification and grid behaviours)

TypeScript
AlertProperties?: RuleAlertProperties;
Property Value

RuleAlertProperties

RowChangeTrigger

Which row event fires the Alert.

TypeScript
RowChangeTrigger: 'Added' | 'Removed';
Property Value

'Added' | 'Removed'

Rule

Optional boolean expression evaluated on the added / removed row; when absent every row event fires.

TypeScript
Rule?: string;
Property Value

string

Scope

Kept for uniformity with the other grid Alerts; Row Change Alerts apply to the whole row ({ All: true }).

TypeScript
Scope: ColumnScope;
Property Value

ColumnScope

Type

TypeScript
Type: 'RowChange';
Property Value

'RowChange'

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