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

    A Data Source Wizard’s page with MongoDB data source settings (connection, collections, and data fields) in the Report Designer.

    Declaration

    export class SpecifyMongoDBDataSourceSettingsPage extends AnalyticSpecifyMongoDBDataSourceSettingsPage

    constructor(dataSourceWizardOptions)

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

    Declaration

    constructor(
        dataSourceWizardOptions: DevExpress.Reporting.Designer.Wizard._ReportWizardOptions
    )

    Parameters

    Name Type
    dataSourceWizardOptions _ReportWizardOptions

    Methods

    commit Method

    Commits the page’s local state to the global state.

    Declaration

    commit(): JQuery.Promise<any, any, any>

    Returns

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

    A JQuery Promise object that identifies whether page initialization succeeded.

    Remarks

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

    See the following topics for more information: