AdaptableAlertBase

View as Markdown

Defines the base(common) properties of an Alert fired by AdapTable, regardless of the type of change

TypeScript
export interface AdaptableAlertBase<T> extends
Extends

Identifiable

Properties

PropertyTypeDescription
alertDefinitionAlertDefinitionRule that caused Alert to fire
alertTypeTThe type of Alert
headerstringAlert Header text
messagestringAlert Body text
occurrenceCountnumberNumber of individual changes this Alert represents.

Normally 1; greater than 1 when several changes from a single batch action (e.g. Bulk
Update or Smart Edit) have been consolidated into a single Alert - see
AlertOptions.consolidateBatchAlerts.

Property Details

alertDefinition

Rule that caused Alert to fire

TypeScript
alertDefinition: AlertDefinition;
Property Value

AlertDefinition

alertType

The type of Alert

TypeScript
alertType: T;
Property Value

T

Alert Header text

TypeScript
header: string;
Property Value

string

message

Alert Body text

TypeScript
message: string;
Property Value

string

occurrenceCount

Number of individual changes this Alert represents.

Normally 1; greater than 1 when several changes from a single batch action (e.g. Bulk Update or Smart Edit) have been consolidated into a single Alert - see AlertOptions.consolidateBatchAlerts.

TypeScript
occurrenceCount?: number;
Property Value

number