[]
        
(Showing Draft Content)

ReportDesigner.ActionHandlers

Interface: ActionHandlers

ReportDesigner.ActionHandlers

ツールバーボタンのアクションとホットキーのアクションハンドラを表します。

Table of contents

メソッド

Methods

onCreate

Optional onCreate(): Promise<undefined | Report>

Called on open report.

Returns

Promise<undefined | Report>

Promise with report info or 'undefined' if operation was cancelled.

Defined in

node_modules/@grapecity/activereports-designer/types/ar-js-designer.d.ts:216


onOpen

Optional onOpen(): Promise<undefined | Report>

Called on opening report.

Returns

Promise<undefined | Report>

Promise with report info or 'undefined' if operation was cancelled.

Defined in

node_modules/@grapecity/activereports-designer/types/ar-js-designer.d.ts:211


onOpenFileMenu

Optional onOpenFileMenu(): void

カスタムのファイルメニューを開くときに呼び出されます。

Returns

void

Defined in

node_modules/@grapecity/activereports-designer/types/ar-js-designer.d.ts:226


onRender

Optional onRender(report, resourceLocator?): Promise<void>

現在のレポートが描画する時に呼び出されます。

Parameters

Name Type Description
report ReportDefinition 現在のレポート情報。
resourceLocator? Partial<ResourceLocator> ResourceLocatorインスタンス。

Returns

Promise<void>

Defined in

node_modules/@grapecity/activereports-designer/types/ar-js-designer.d.ts:222


onSave

Optional onSave(options): Promise<undefined | SaveResult>

Called on saving report.

Parameters

Name Type Description
options SaveReportInfo 現在のレポート情報。

Returns

Promise<undefined | SaveResult>

Promise with new report info if report was saved or 'undefined' if operation was cancelled.

Defined in

node_modules/@grapecity/activereports-designer/types/ar-js-designer.d.ts:200


onSaveAs

Optional onSaveAs(options): Promise<undefined | SaveAsResult>

Called on saving report as new.

Parameters

Name Type Description
options SaveNewReportInfo 現在のレポート情報。

Returns

Promise<undefined | SaveAsResult>

Promise with new report info if report was saved or 'undefined' if operation was cancelled.

Defined in

node_modules/@grapecity/activereports-designer/types/ar-js-designer.d.ts:206