[]
        
(Showing Draft Content)

ReportDesigner.Designer

Class: Designer

ReportDesigner.Designer

Report designer component.

Table of contents

생성자

접근자

메소드

Constructors

constructor

new Designer(element, config?)

Creates report designer component instance.

Parameters

Name Type Description
element string | object | Element Component host element.
config? DesignerConfig Designer settings.

Accessors

fontSet

get fontSet(): FontSet

Gets available set of fonts.

Returns

FontSet

set fontSet(value): void

Sets available set of fonts.

Parameters

Name Type
value FontSet

Returns

void

Methods

createReport

createReport(reportInfo, whenDirty?): Promise<void>

Creates report.

Parameters

Name Type Description
reportInfo NewReportInfo Report info to load.
whenDirty? WhenDirty Action to perform in case of 'dirty' report.

Returns

Promise<void>


getReport

getReport(): Promise<ReportInfo>

Gets current report.

Returns

Promise<ReportInfo>


processCommand

processCommand(cmd): Promise<void>

Process command.

Parameters

Name Type Description
cmd DesignerCommand Command name.

Returns

Promise<void>


setActionHandlers

setActionHandlers(actions): Promise<void>

Sets actions handlers.

Parameters

Name Type Description
actions ActionHandlers Actions handlers.

Returns

Promise<void>


setDataSourceTemplates

setDataSourceTemplates(templates): Promise<void>

Sets DataSource templates

Parameters

Name Type Description
templates DataSourceTemplate[] List of DataSource templates

Returns

Promise<void>


setReport

setReport(report, whenDirty?, isDirtyInitial?): Promise<void>

Sets report.

Parameters

Name Type Description
report Report Report info to load.
whenDirty? WhenDirty Action to perform in case of 'dirty' report.
isDirtyInitial? boolean Initial value for 'dirty' state after load.

Returns

Promise<void>


setResourceProvider

setResourceProvider(resourceProvider): Promise<void>

Sets resource provider.

Parameters

Name Type Description
resourceProvider Partial<ResourceProvider> Resources provider.

Returns

Promise<void>

X

카카오톡 채널 추가를 통해 GrapeCity의 최신 정보를 빠르게 받아 보세요!