Options related to Alerts in Adaptable.

TypeScript
export interface

Properties

PropertyDescriptionDefault
alertFormsFull definitions of Alert Forms - the names of which are provided in Alert State
alertMessageHeaderFunction providing Header to display in Alert; if empty, AdapTable provides dynamically
alertMessageTextFunction providing Message to display in Alert; if empty, AdapTable provides dynamically
cellHighlightDurationHow long (in ms) a Cell will be highlighted when an Alert fires2000
commandHandlersCustom onClick Handlers for Buttons (displayed in Alert Forms)
dataChangeDetectionPolicyWhether Alert rule is evaluated against the rawValue or formattedValue of the changed cell data'rawValue'
maxAlertsInStoreHow many alerts held in State at any one time; when limit is breached, oldest alert will be removed20
rowHighlightDurationHow long (in ms) a Row will be highlighted when an Alert Fires4000
showMissingPrimaryKeyAlertShows Alert if Primary Key column in Adaptable Options is not present or incorrectfalse
statusbarHighlightDurationHow long (in ms) Alert panel in Status Bar highlights when an Alert Fires2000

Property Details

alertForms

Full definitions of Alert Forms - the names of which are provided in Alert State

TypeScript
alertForms?: AlertForm<TData>[];
Property Value

AlertForm<TData>[]

alertMessageHeader

Function providing Header to display in Alert; if empty, AdapTable provides dynamically

TypeScript
alertMessageHeader?: (alertMessageContext: AlertMessageContext<TData>) => string | undefined;
Property Value

(alertMessageContext:AlertMessageContext<TData>) => string | undefined

alertMessageText

Function providing Message to display in Alert; if empty, AdapTable provides dynamically

TypeScript
alertMessageText?: (alertMessageContext: AlertMessageContext<TData>) => string | undefined;
Property Value

(alertMessageContext:AlertMessageContext<TData>) => string | undefined

cellHighlightDuration

How long (in ms) a Cell will be highlighted when an Alert fires

TypeScript
cellHighlightDuration?: number;
Default Value

2000

Property Value

number

commandHandlers

Custom onClick Handlers for Buttons (displayed in Alert Forms)

TypeScript
commandHandlers?: CommandHandler<TData>[];
Property Value

CommandHandler<TData>[]

dataChangeDetectionPolicy

Whether Alert rule is evaluated against the rawValue or formattedValue of the changed cell data

TypeScript
dataChangeDetectionPolicy?: DataChangeDetectionPolicy;
Default Value

'rawValue'

Property Value

DataChangeDetectionPolicy

maxAlertsInStore

How many alerts held in State at any one time; when limit is breached, oldest alert will be removed

TypeScript
maxAlertsInStore?: number;
Default Value

20

Property Value

number

rowHighlightDuration

How long (in ms) a Row will be highlighted when an Alert Fires

TypeScript
rowHighlightDuration?: number;
Default Value

4000

Property Value

number

showMissingPrimaryKeyAlert

Shows Alert if Primary Key column in Adaptable Options is not present or incorrect

TypeScript
showMissingPrimaryKeyAlert?: boolean;
Default Value

false

Property Value

boolean

statusbarHighlightDuration

How long (in ms) Alert panel in Status Bar highlights when an Alert Fires

TypeScript
statusbarHighlightDuration?: number;
Default Value

2000

Property Value

number