Skip to main content
All docs
V25.1
  • ChooseMongoDBCollectionPage Class

    Implements the Choose a database and its collection section of the Report Wizard’s Specify Data Source Settings (MongoDB)) page and the Data Source Wizard’s Specify Data Source Settings (MongoDB).

    Declaration

    export class ChooseMongoDBCollectionPage extends WizardPageBase<DevExpress.Analytics.Wizard.IMongoDBDataSourceWizardState, DevExpress.Analytics.Wizard.IMongoDBDataSourceWizardState>

    Inheritance

    WizardPageBase<TState, TResult>
    ChooseMongoDBCollectionPage

    constructor

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

    Declaration

    constructor(
        _requestWrapper?: DevExpress.QueryBuilder.Utils.RequestWrapper,
        rtl?: boolean
    )

    Parameters

    Name Type
    _requestWrapper RequestWrapper
    rtl boolean

    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.IMongoDBDataSourceWizardState, any, any>

    Returns

    Type Description
    Promise<IMongoDBDataSourceWizardState,any,any>

    A JQuery Promise object that identifies whether the commit succeeded.

    dispose Method

    Declaration

    dispose(): void

    initialize(state) Method

    Initializes the section with the specified settings.

    Declaration

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

    Parameters

    Name Type Description
    state IMongoDBDataSourceWizardState

    The section state.

    Returns

    Type Description
    Promise<any,any,any>

    A JQuery Promise object that identifies whether the initialization succeeded.