Designer Events
Information |
Since dashboards and reports use the same unified template format - MRT, methods for loading the template and working with data, the word “report” will be used in the documentation text.
|
To write interactive applications need to respond to changes in the application. The event system is used for this. It is represented in Stimulsoft Report Designer with the following events:
onPrepareVariables
Asynchronous event is called before filling in the variables in the report at the beginning of the report rendering. The event occurs immediately after execution onPrepareVariables event of the StiReport object. The event handler argument “event” is an object with the next fields:
|
onBeginProcessData
Asynchronous event is called before requesting the data for the report. The event occurs immediately after execution onBeginProcessData event of the StiReport object. The event handler argument “event” is an object with the next fields:
|
onEndProcessData
Is called after retrieving data for the report. The event occurs immediately after execution onEndProcessData event of the StiReport object. The event handler argument “event” is an object with the next fields:
|
onCreateReport
Asynchronous event Is called after a new report is created. The event handler argument “event” it is an object with the next fields:
|
onOpenReport
Asynchronous event is called before user click button for opening a report. The event handler argument event is an object with the next fields:
|
onOpenedReport
Asynchronous event is called before user click button for opening a report before it is assigned to the designer. The event handler argument event is an object with the next fields:
|
onSaveReport
Asynchronous event is called before saving the report. The event handler argument event is an object with the next fields:
|
onSaveAsReport
Asynchronous event is called before saving the report if user click Save As button. The event handler argument event is an object with the next fields:
|
onPreviewReport
Asynchronous event is called when going to the report preview tab. The event handler argument event is an object with the next fields:
|
onExit
Is called before closing the designer. The event handler argument event is an object with the next fields:
|