ChooseSqlConnectionPage Class
Implements the Choose Data Connection 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 ChooseSqlConnectionPage extends WizardPageBase<DevExpress.Analytics.Wizard.ISqlDataSourceWizardState, DevExpress.Analytics.Wizard.ISqlDataSourceWizardState>
#Remarks
This page section allows users to select a data connection for a new data source.
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.ChooseSqlConnectionPage for the Report Wizard;
- FullscreenDataSourceWizardSectionId.ChooseSqlConnectionPage 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(connectionStrings)
Creates a new instance of the ChooseSqlConnectionPage
class with the specified settings.
#Declaration
constructor(
connectionStrings: ko.ObservableArray<DevExpress.Analytics.Wizard.IConnectionStringDefinition>,
_getSqlConnectionsCallback?: () => DevExpress.Analytics.Internal.DxPromise<IConnectionStringDefinition[]>
)
#Parameters
Name | Type | Description |
---|---|---|
connection |
Observable |
The connection string collection. |
_get |
() => Dx |
#Methods
#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<ISql |
#initialize(state) Method
Initializes the section with the specified settings.
#Declaration
initialize(
state: DevExpress.Analytics.Wizard.ISqlDataSourceWizardState
): JQuery.Promise<any, any, any>
#Parameters
Name | Type | Description |
---|---|---|
state | ISql |
The section’s state. |
#Returns
Type |
---|
Promise |