Alert Options

Options for managing Alerts in AdapTable.

Most of the properties are related to managing Toast Notifications, but there are also properties to help manage Flashing Alerts, Alert Forms and Alert Action Buttons.

Alert Options Properties

PropertyDescriptionDefault
actionHandlersonClick Handlers for Alert Buttons (defined in Alert State)
alertFormsFull definitions of Alert Forms - the names of which are provided in Alert State
cellHighlightDurationHow long (in ms) a cell will be highlighted3000
closeWhenClickedCloses Notification automatically when its clickedfalse
dataChangeDetectionPolicyWhether Alert rule should be evaluated against the rawValue or formattedValue of the changed cell data'rawValue'
durationHow long (in ms) Notifications display for3000
flashingAlertDefaultPropertiesFlashing Alert DefaultsBackColors: Green (up), Red (down), Gray (neutral), Duration: 500ms
isDraggableCan Notification be draggedfalse
maxAlertsInStoreHow many alerts held in State at any one time; when limit is breached, oldest alert will be removed20
maxNotificationsHow many Notifications can be displayed at one time3
pauseWhenHoveringPauses the Notification when mouse hovers over itfalse
positionWhere Notification will appear (if anywhere)'BottomRight'
showProgressBarShows a Progress Bar in the Notificationfalse
transitionHow Notification will appear: 'Bounce''Slide'

More Information