[]
ReportDesigner.ActionHandlers
Represents toolbar buttons actions and hotkeys action handlers
▸ Optional
onCreate(): Promise
<undefined
| Report
| NewReport
>
Called on open report.
Promise
<undefined
| Report
| NewReport
>
Promise with report info or 'undefined' if operation was cancelled.
▸ Optional
onOpen(): Promise
<undefined
| Report
>
Called on opening report.
Promise
<undefined
| Report
>
Promise with report info or 'undefined' if operation was cancelled.
▸ Optional
onOpenFileMenu(): void
Called on open custom file menu.
void
▸ Optional
onRender(report
, resourceLocator?
, uiTheme?
): Promise
<void
>
Called on render current report.
Name | Type | Description |
---|---|---|
report |
ReportDefinition |
Current report info. |
resourceLocator? |
Partial <ResourceLocator > |
ResourceLocator instance. |
uiTheme? |
BuiltInUITheme |
Current UI theme. |
Promise
<void
>
▸ Optional
onSave(options
): Promise
<undefined
| SaveResult
>
Called on saving report.
Name | Type | Description |
---|---|---|
options |
SaveReportInfo |
Current report info. |
Promise
<undefined
| SaveResult
>
Promise with new report info if report was saved or 'undefined' if operation was cancelled.
▸ Optional
onSaveAs(options
): Promise
<undefined
| SaveAsResult
>
Called on saving report as new.
Name | Type | Description |
---|---|---|
options |
SaveNewReportInfo |
Current report info. |
Promise
<undefined
| SaveAsResult
>
Promise with new report info if report was saved or 'undefined' if operation was cancelled.