Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ChooseDataSourceTypePage Class

Implements the Data Source Wizard’s Select Data Source Type page.

#Declaration

TypeScript
export class ChooseDataSourceTypePage extends WizardPageBase<DevExpress.Analytics.Wizard.IDataSourceWizardState, DevExpress.Analytics.Wizard.IDataSourceWizardState>

#Remarks

This wizard page allows users to select a data source type to create.

You can hide specific data source types or remove this page from the Data Source Wizard. To identify this page in code, use the FullscreenDataSourceWizardPageId.ChooseDataSourceTypePage enumeration value.

See the following topics for more information:

#Inheritance

WizardPageBase<TState, TResult>
ChooseDataSourceTypePage

#constructor(_dataSourceTypeOptions)

Initializes a new instance of the ChooseDataSourceTypePage class with specified settings.

#Declaration

TypeScript
constructor(
    _dataSourceTypeOptions: DevExpress.Analytics.Wizard._DataSourceWizardOptions
)

#Parameters

Name Type
_dataSourceTypeOptions _DataSourceWizardOptions

#Properties

#selectedItem Property

Specifies the selected data source type.

#Declaration

TypeScript
selectedItem: ko.Observable<ITypeItem>

#Property Value

Type Description
Observable<ITypeItem>

The selected data source type.

#typeItems Property

Specifies the collection of available data source types.

#Declaration

TypeScript
typeItems: ITypeItem[]

#Property Value

Type Description
ITypeItem[]

The collection of available data source types.

#Remarks

You can handle the wizard’s beforePageInitialize and hide unnecessary data source types.

See the following topics for more information:

#Methods

#canFinish Method

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

#Declaration

TypeScript
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

TypeScript
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

TypeScript
commit(): JQuery.Promise<DevExpress.Analytics.Wizard.IDataSourceWizardState, any, any>

#Returns

Type Description
Promise<IDataSourceWizardState,any,any>

A JQuery Promise object that identifies whether the commit succeeded.

#initialize(state) Method

Initializes the page with the specified settings.

#Declaration

TypeScript
initialize(
    state: DevExpress.Analytics.Wizard.IDataSourceWizardState
): JQuery.Promise<any, any, any>

#Parameters

Name Type Description
state IDataSourceWizardState

A page’s local state to initialize.

#Returns

Type
Promise<any,any,any>

#Remarks

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

See the following topics for more information: