Skip to main content
A newer version of this page is available. .

ConfigureQueryPage Class

Implements the Report Wizard and Data Source Wizard‘s Configure Query page.

Declaration

class ConfigureQueryPage extends WizardPageBase<ISqlDataSourceWizardState, ISqlDataSourceWizardState>

Implements

Inherited Members

Inheritance

constructor(_options)

Initializes a new ConfigureQueryPage class instance with specified settings.

Declaration

constructor(
    _options: _DataSourceWizardOptions
)

Parameters

Name Type Description
_options _DataSourceWizardOptions

The section’s options.

Properties

initialName Property

Declaration

initialName: string

Property Value

Type
string

placeholder Property

Declaration

placeholder: () => string

Property Value

Type
() => string

popupQueryBuilder Property

Declaration

popupQueryBuilder: Wizard.Internal.QueryBuilderPopup

Property Value

Type
QueryBuilderPopup

QUERY_TEXT Property

Declaration

static QUERY_TEXT: string

Property Value

Type
string

queryControl Property

Declaration

queryControl: ko.Observable<Internal.ISqlQueryControl>

Property Value

Type
Observable<ISqlQueryControl>

queryName Property

Declaration

queryName: ko.Observable<string>

Property Value

Type
Observable<string>

queryNameCaption Property

Declaration

queryNameCaption: () => string

Property Value

Type
() => string

queryTypeItems Property

Declaration

queryTypeItems: string[]

Property Value

Type
string[]

runQueryBuilderBtnText Property

Declaration

runQueryBuilderBtnText: ko.PureComputed<any>

Property Value

Type
PureComputed<any>

selectedQueryType Property

Declaration

selectedQueryType: ko.Observable<string>

Property Value

Type
Observable<string>

SP_TEXT Property

Declaration

static SP_TEXT: string

Property Value

Type
string

Methods

canFinish Method

Gets or sets whether the Finish button is enabled on the wizard page.

Declaration

canFinish(): boolean

Returns

Type Description
boolean

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

canNext Method

Gets or sets whether the Next button is enabled on the wizard page.

Declaration

canNext(): boolean

Returns

Type Description
boolean

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

commit Method

Commits settings to the local page state.

Declaration

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

Returns

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

A JQuery Promise object that identifies whether the commit succeeded.

initialize(state) Method

Initializes the section with the specified settings.

Declaration

initialize(
    state: ISqlDataSourceWizardState
): JQueryPromise<any>

Parameters

Name Type Description
state ISqlDataSourceWizardState

The section’s state.

Returns

Type
JQueryPromise<any>

localizeQueryType(queryTypeString) Method

Declaration

localizeQueryType(
    queryTypeString: string
): any

Parameters

Name Type
queryTypeString string

Returns

Type
any

runQueryBuilder Method

Declaration

runQueryBuilder(): void