Skip to main content
All docs
V26.1
  • ChooseDataSourceTypePage<TState> Class

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

    Declaration

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

    Type Parameters

    Name Type
    TState 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<TState>

    constructor<TState>(_dataSourceTypeOptions)

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

    Declaration

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

    Parameters

    Name Type
    _dataSourceTypeOptions _DataSourceWizardOptions

    Type Parameters

    Name Type
    TState IDataSourceWizardState

    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<TState, any, any>

    Returns

    Type Description
    Promise<TState,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<void, any, any>

    Parameters

    Name Type Description
    state IDataSourceWizardState

    A page’s local state to initialize.

    Returns

    Type
    Promise<void,any,any>

    Remarks

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

    See the following topics for more information: