SelectReportTypePage Class

Implements the Report Wizard’s Select Report Type page.

Declaration

export class SelectReportTypePage extends AnalyticChooseDataSourceTypePage

Remarks

This wizard page allows users to select a report type to create.

You can hide specific report types or remove this page from the Report Wizard. To identify this page in code, use the FullscreenReportWizardPageId.SelectReportTypePage enumeration value.

See the following topics for more information:

constructor(_options)

Creates a new instance of the SelectReportTypePage class with the specified settings.

Declaration

constructor(
    _options: ISelectReportTypePageOptions
)

Parameters

Name Type Description
_options ISelectReportTypePageOptions

The page settings.

Methods

canFinish Method

Specifies whether the Finish button is enabled on a wizard page.

Declaration

canFinish(): boolean

Returns

Type Description
boolean

true, if the Finish button is enabled; otherwise, false.

canNext Method

Specifies whether the Next button is enabled on a wizard page.

Declaration

canNext(): boolean

Returns

Type Description
boolean

true, if the Next button is enabled; otherwise, false.

commit Method

Commits the page’s local state to the global state.

Declaration

commit(): JQuery.Promise<any, any, any>

Returns

Type Description
JQuery.Promise<any,any,any>

A JQuery Promise object that identifies whether the commit succeeded.

initialize(state) Method

Initializes the page with the specified settings.

Declaration

initialize(
    state: any
): JQuery.Promise<any, any, any>

Parameters

Name Type Description
state any

A page’s local state to initialize.

Returns

Type Description
JQuery.Promise<any,any,any>

A JQuery Promise object that identifies whether page initialization succeeded.

Remarks

You can use the wizard’s beforePageInitialize and afterPageInitialize events to customize the page.

See the following topics for more information: