Skip to main content
All docs
V24.2

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

SpecifyJsonDataSourceSettingsPage Class

Implements the Data Source Wizard’s Specify Data Source Settings (JSON) page.

#Declaration

TypeScript
export class SpecifyJsonDataSourceSettingsPage extends FullscreenWizardPage

#Remarks

This wizard page allows users to specify settings of a new JSON data source.

You can customize this page, hide specific sections or remove this page from the Report Wizard. To identify this page in code, use the FullscreenDataSourceWizardPageId.SpecifyJsonDataSourceSettingsPage enumeration value.

See the following topics for more information:

#Inheritance

#constructor(_dataSourceWizardOptions)

Creates a new class instance with the specified settings.

#Declaration

TypeScript
constructor(
    _dataSourceWizardOptions: DevExpress.Analytics.Wizard._DataSourceWizardOptions
)

#Parameters

Name Type
_dataSourceWizardOptions _DataSourceWizardOptions

#Methods

#canNext Method

Specifies whether the Next button is enabled on a wizard page.

#Declaration

TypeScript
canNext(): boolean

#Returns

Type Description
boolean

true, if the Next button is enabled; otherwise, false.

#getNextSectionId(sectionId) Method

Returns the next section’s ID.

#Declaration

TypeScript
getNextSectionId(
    sectionId: string
): string

#Parameters

Name Type Description
sectionId string

The current section’s ID.

#Returns

Type Description
string

The next section’s ID.

#Remarks

You should override this method when you remove a specific section from the page and want to skip this section in the navigation logic.

See the following topics for more information:

#registerSections Method

Registers the page’s sections.

#Declaration

TypeScript
registerSections(): void

#Remarks

This method registers the following sections in the Specify Data Source Settings (JSON) page:

  • SpecifyJsonConnectionPage (if there are predefined connection strings) - allows users to select a connection string or create a new connection string;
  • ChooseJsonSourcePage (if there are no predefined connection strings) - allows users to specify settings for a new connection string;
  • ChooseJsonSchemaPage - allows users to select data fields.