Skip to main content
All docs
V25.2
  • ChooseDataSourceTypePage Class

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

    Declaration

    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

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

    Parameters

    Name Type
    _dataSourceTypeOptions _DataSourceWizardOptions

    Properties

    selectedItem Property

    Specifies the selected data source type.

    Declaration

    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

    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

    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<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

    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: