[]
ReportDesigner.Designer
Report designer component.
• new Designer(element
, config?
)
Creates report designer component instance.
Name | Type | Description |
---|---|---|
element |
string | object | Element |
Component host element. |
config? |
DesignerConfig |
Designer settings. |
• get
fontSet(): FontSet
Gets available set of fonts.
• set
fontSet(value
): void
Sets available set of fonts.
Name | Type |
---|---|
value |
FontSet |
void
▸ createReport(reportInfo
, whenDirty?
): Promise
<void
>
Creates report.
Name | Type | Description |
---|---|---|
reportInfo |
NewReportInfo |
Report info to load. |
whenDirty? |
WhenDirty |
Action to perform in case of 'dirty' report. |
Promise
<void
>
▸ getReport(): Promise
<ReportInfo
>
Gets current report.
Promise
<ReportInfo
>
▸ processCommand(cmd
): Promise
<void
>
Process command.
Name | Type | Description |
---|---|---|
cmd |
DesignerCommand |
Command name. |
Promise
<void
>
▸ setActionHandlers(actions
): Promise
<void
>
Sets actions handlers.
Name | Type | Description |
---|---|---|
actions |
ActionHandlers |
Actions handlers. |
Promise
<void
>
▸ setDataSourceTemplates(templates
): Promise
<void
>
Sets DataSource templates
Name | Type | Description |
---|---|---|
templates |
DataSourceTemplate [] |
List of DataSource templates |
Promise
<void
>
▸ setReport(report
, whenDirty?
, isDirtyInitial?
): Promise
<void
>
Sets report.
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. |
Promise
<void
>
▸ setResourceProvider(resourceProvider
): Promise
<void
>
Sets resource provider.
Name | Type | Description |
---|---|---|
resourceProvider |
Partial <ResourceProvider > |
Resources provider. |
Promise
<void
>