Listening to Alerts

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 can be triggered the Alert can be one of 2 types:

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

Understanding the Alert Fired Event

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