Class actuate.viewer.EventConstants
Description
Defines the event constants supported by this API. Table 44‑48 lists the viewer event constants.
Table 44‑48 Actuate JavaScript API viewer event constants
Event
Description
ON_CONTENT_CHANGED
Calls a registered event handler when the report content is reloaded.
The event handler must take the viewer instance that fired the event as an input argument.
ON_CONTENT_SELECTED
Calls a registered event handler when the relevant part of the report content is selected. Supported selected contents are:
*Column
*Table
*Data
*Label
*Text
When the content is selected, the corresponding object is passed into user’s event handler function. For example, if the table area is selected in a viewer, actuate.Viewer.Table is passed into the event handler.
The event handler must take the viewer instance that fired the event and an instance of actuate.viewer.SelectedContent as input arguments.
ON_DIALOG_OK
This event fires when the user clicks the OK button in a dialog.
The event handler must take the viewer object that fired the event and a dialog.AdvancedFilterDialog object as input parameters.
ON_EXCEPTION
An exception event is broadcast when an error occurs.
The event handler must take the viewer instance that fired the event and an instance of actuate.viewer.Exception as input arguments.
ON_SESSION_TIMEOUT
Calls a registered event handler when the session expires.
The event handler must take the viewer instance that fired the event as an input argument.