AdaptableBlotter.JS provides 2 ways that, at runtime, you can keep your users updated with vital information about the system.
The Adaptable Blotter provides you with a System Status button that you can use to provide information about the state of the application.
When activated, it has 3 states: "Red", "Amber" and "Green". Each state is represented by a button of that colour that is placed as the first button in the Home toolbar.
Clicking on the button will show an alert that will display the custom message that you send.
You can change the Status at any time by calling the Set function in the System Status API property of the Blotter API, passing in as arguments the message you want to display and the status colour.
Another way of informing the user of something important is via Message Alerts. There are 4 types of Alerts that you can send:
To send an alert, call the Show function in the Alert API property of the Blotter API, passing in as arguments the message header, the message text, and the message type ("Info", "Success", "Warning" or "Error").
Depending on the type you specify, a different alert will be shown.
By default alerts are shown as popups (and in the Alerts toolbar) but you can choose to put them elsewhere.
If you want to find out when an alert has been triggered, you can subscribe to the Blotter's onAlertFired event, which is published whenever an event is fired. (See Events API for more information).
Additionally, users are able to create their own alert definitions using the Alerts function, which will trigger alerts whenever the rule is met.