Listening to Alerts

View as Markdown

Summary

  • Event published by AdapTable whenever an Alert has been triggered by AdapTable
  • Provides details of the Alert that fired and the Alert Definition that triggered it

The Alert Fired Event is published by AdapTable whenever an Alert is fired.

The EventInfo includes full details of the Alert Definition that triggered the Alert, the Change that occurred in AG Grid and other related information.

The change that triggered the alert can be one of two types:

  • Cell Change - the value of a Cell has changed
  • Row Change - a row has been added, updated, or deleted

Find Out More

The Alert Fired payload is in the Alerts Technical Reference

Events: Alert Fired
Fork
  • This Demo listens to the Alert Fired Event and sends details as a System Status Message. There are 2 Alerts:
    • Cell Changed: Error Alert if GitHub Stars Column is LessThan 1000
    • Row Changed: Warning Alert when a Row is deleted
Try It Out
  • Trigger Alerts and then see how the Alert Fired Event is handled by:
    • Editing a cell in the GitHub Stars Column to a value <1000
    • Clicking the Delete Row Button
Loading demo…