Handling Interactive Crosstabs viewer events
The Interactive Crosstabs viewer triggers events to indicate changes in status. These events include notifications of data changes or errors. Use the registerEventHandler function found in XTabAnalyzer to handle events, as shown in the following code:
This code registers the event handler errorHandler to be called when an ON_EXCEPTION event occurs.
The XTabAnalyzer class supports the following events:
To remove an event handler, call removeEventHandler( ).
The actuate.xtabanalyzer.Exception class handles exceptions. For more information about events, see the section describing the actuate.xtabanalyzer.EventsConstants class.