Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ChooseJsonSchemaPage Class

Implements the Select Data Fields section of the Report Wizard’s Specify Data Source Settings (JSON) page.

#Declaration

TypeScript
export class ChooseJsonSchemaPage extends ChooseAnalyticJsonSchemaPage

#Remarks

This section allows users to choose data fields to include in the resulting data source.

You can customize this section or remove it from the Specify Data Source Settings (JSON) page. To identify this section in code, use the FullscreenReportWizardSectionId.ChooseJsonSchemaPage value.

See the following topics for more information:

#constructor(createJsonDataSourceInfo)

Creates a new instance of the ChooseJsonSchemaPage class with the specified settings.

#Declaration

TypeScript
constructor(
    createJsonDataSourceInfo: (dataSource: DevExpress.Analytics.Data.JsonDataSource) => DevExpress.Analytics.Internal.DxPromise<IDataSourceInfo>
)

#Parameters

Name Type
createJsonDataSourceInfo (dataSource: JsonDataSource) => DxPromise<IDataSourceInfo>

#Methods

#commit Method

Commits settings to the local page state.

#Declaration

TypeScript
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 section with the specified settings.

#Declaration

TypeScript
initialize(
    state: any
): JQueryPromise<DevExpress.Analytics.Data.JsonSchemaRootNode>

#Parameters

Name Type Description
state any

The section’s state.

#Returns

Type Description
JQueryPromise<JsonSchemaRootNode>

A JQuery Promise object that identifies whether page initialization succeeded.