ChooseMongoDBSchemaPage Class
Implements the Select data fields 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 ChooseMongoDBSchemaPage extends ChooseJsonSchemaPageBase<DevExpress.Analytics.Data.MongoDBDataSource, DevExpress.Analytics.Wizard.IMongoDBDataSourceWizardState>
Inheritance
WizardPageBase<TState, TResult>
ChooseJsonSchemaPageBase<TSource, TState>
ChooseMongoDBSchemaPage
constructor
Initializes a new instance of the ChooseMongoDBSchemaPage class with specified settings.
Declaration
constructor(
requestWrapper?: DevExpress.QueryBuilder.Utils.RequestWrapper
)
Parameters
| Name | Type |
|---|---|
| requestWrapper | RequestWrapper |
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
): 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. |