Configuring System Status Messages

Summary

  • System Status Messaging can be configured by developers at design time:
    • setting whether to show a Toast Notification alongside a System Status Message
    • configuring how many Messages to display

There are 2 properties in Notification Options used for configuring System Status Messages:

Stored Message Count

By default AdapTable will store the last 100 System Status Messages that have been displayed.

Note

Once this limit is reached the oldest Message is removed

Where this limit is not suitable, the maxSystemMessagesInStore property can be used to configure a different number of messages to be stored.

maxSystemMessagesInStore

Default: 100
Number
How many System Status Messages to keep in local storage

System Status Toast Notification

By default, System Status Messages are shown in the System Status Toolbar, Tool Panel, and Status Bar.

However they do not appear automatically as a Toast Notification.

The showSystemStatusMessageNotifications overrides this behavour and will display a Notification.

Find Out More

See the tutorial on Toast Notifications for more information on how to configure these messages

showSystemStatusMessageNotifications

Default: false
Boolean
Display a Toast Notification when a System Status Message is set
System Status
Fork
  • This demo sends System Status messages via buttons in the Custom Toolbar - similar to other demos in this section
  • It displays these System Status messages in Toolbar, Tool Panel and Status Bar as with other demos
  • But it also renders a Toast Notification - because we set showSystemStatusMessageNotifications to true in Notification Options
  • Additionally we set maxSystemMessagesInStore to 5, so that only the last 5 System Status Messages are kept in store
Try It Out
  • Click the buttons in the Setting Message Buttons Toolbar to see the System Status Message change