MultiQueryConfigurePage Class
Implements the Choose Queries section of the Report Wizard’s Specify Data Source Settings (Database) page and the Data Source Wizard’s Specify Data Source Settings (Database).
Declaration
export class MultiQueryConfigurePage extends WizardPageBase<DevExpress.Analytics.Wizard.ISqlDataSourceWizardState, DevExpress.Analytics.Wizard.ISqlDataSourceWizardState>
Remarks
This page section allows users to select predefined queries or create custom queries.
You can customize this page or remove it from the Specify Data Source Settings (Database) page. To identify this section in code, use the following values:
- FullscreenReportWizardSectionId.ConfigureQueryPage for the Report Wizard;
- FullscreenDataSourceWizardSectionId.ConfigureQueryPage for the Data Source Wizard.
See the following topics for more information:
- Customize the Report/Data Source Wizard (ASP.NET Web Forms)
- Customize the Report/Data Source Wizard (ASP.NET MVC)
- Customize the Report/Data Source Wizard (ASP.NET Core)
Inheritance
constructor(_options)
Creates a new instance of the MultiQueryConfigurePage class with the specified settings.
Declaration
constructor(
_options: DevExpress.Analytics.Wizard._MultiQueryDataSourceWizardOptions
)
Parameters
| Name | Type |
|---|---|
| _options | _MultiQueryDataSourceWizardOptions |
Properties
disableCustomSql Property
Specifies whether the section allows users to write custom SQL queries.
Declaration
disableCustomSql: boolean
Property Value
| Type | Description |
|---|---|
| boolean | true, if custom SQL queries are available; otherwise, false. |
Methods
canFinish Method
Specifies whether it is possible to finish the wizard.
Declaration
canFinish(): boolean
Returns
| Type | Description |
|---|---|
| boolean | true, if it is possible to finish the wizard; otherwise, false. |
canNext Method
Specifies whether the next section is available.
Declaration
canNext(): boolean
Returns
| Type | Description |
|---|---|
| boolean | true, if the next section is available; otherwise, false. |
commit Method
Commits settings to the local page state.
Declaration
commit(): JQuery.Promise<DevExpress.Analytics.Wizard.ISqlDataSourceWizardState, any, any>
Returns
| Type |
|---|
| Promise<ISqlDataSourceWizardState,any,any> |
initialize(state) Method
Initializes the section with the specified settings.
Declaration
initialize(
state: DevExpress.Analytics.Wizard.ISqlDataSourceWizardState
): JQuery.Promise<DevExpress.QueryBuilder.Utils.ISqlQueryViewModel, any, any>
Parameters
| Name | Type | Description |
|---|---|---|
| state | ISqlDataSourceWizardState | The section’s state. |
Returns
| Type |
|---|
| Promise<ISqlQueryViewModel,any,any> |