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

    Implements the Choose a data connection 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 ChooseMongoDBDataConnectionPage extends ChooseAvailableItemPage

    Inheritance

    Methods

    commit Method

    Commits settings to the local section 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.

    initialize(state) Method

    Initializes the section with the specified settings.

    Declaration

    initialize(
        state: DevExpress.Analytics.Wizard.IMongoDBDataSourceWizardState
    ): any

    Parameters

    Name Type Description
    state IMongoDBDataSourceWizardState

    The section state.

    Returns

    Type Description
    any

    An object that indicates whether the initialization succeeded.