AdaptableAlertBase
Defines the base(common) properties of an Alert fired by AdapTable, regardless of the type of change
TypeScript
export interface AdaptableAlertBase<T> extendsExtends
Properties
| Property | Type | Description |
|---|---|---|
| alertDefinition | AlertDefinition | Rule that caused Alert to fire |
| alertType | T | The type of Alert |
| header | string | Alert Header text |
| message | string | Alert Body text |
| occurrenceCount | number | Number of individual changes this Alert represents. Normally 1; greater than 1 when several changes from a single batch action (e.g. BulkUpdate 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
alertType
The type of Alert
TypeScript
alertType: T;Property Value
T
header
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