dashboard-js-devexpress-dot-dashboard-dot-designer-b07813b7.md
A Web Dashboard extension that is the Data Source Wizard.
export class DataSourceWizardExtension implements ISupportOptionExtension<DataSourceWizardExtensionOptions>
Refer to the DataSourceWizardExtensionOptions class that contains the extension’s options to configure the extension.
The Web Dashboard supports two Data Source Wizard types:
DataSourceWizardExtensionA standard wizard.MultiQueryDataSourceWizardExtensionA multi-query version.
The Web Dashboard uses the DataSourceWizardExtension by default. The code snippet below shows how to enable the other wizard:
dashboardControl.unregisterExtension('dataSourceWizard');
dashboardControl.registerExtension(new DevExpress.Dashboard.MultiQueryDataSourceWizardExtension(dashboardControl));
See the following topic for information on how to use the DashboardControl’s client-side API: Extensions Overview.
ISupportOptionExtension
DataSourceWizardExtension MultiQueryDataSourceWizardExtension
Initializes a new instance of the DataSourceWizardExtension class.
constructor(
dashboardControl: DevExpress.Dashboard.DashboardControl,
options?: DataSourceWizardExtensionOptions
)
| Name | Type | Description |
|---|---|---|
| dashboardControl | DashboardControl |
A Web Dashboard control that owns the extension.
| | options | DataSourceWizardExtensionOptions |
A DataSourceWizardExtension object that contains the extension options.
|
Specifies whether custom SQL strings editing is enabled.
get isCustomSqlEnabled(): any
| Type |
|---|
| any |
Specifies the unique extension name.
name: string
| Type | Description |
|---|---|
| string |
The unique extension name. The return value is dataSourceWizard.
|
Use the dataSourceWizard name in the following cases:
Warning
Do not change the unique name of the extension registered in the Web Dashboard to avoid exceptions.
Unsubscribes from the DataSourceWizardExtension’s events.
off: DevExpress.Dashboard.Internal.EventSubscriber<DataSourceWizardExtensionEvents>
| Type |
|---|
| EventSubscriber<DataSourceWizardExtensionEvents> |
Subscribes to DataSourceWizardExtension events.
on: DevExpress.Dashboard.Internal.EventSubscriber<DataSourceWizardExtensionEvents>
| Type |
|---|
| EventSubscriber<DataSourceWizardExtensionEvents> |
The extension’s on and off methods help you subscribe to and unsubscribe from events.
Invokes the Data Source Creating dialog.
showDataSourceCreatingDialog(): JQueryPromise<DevExpress.Dashboard.Model.DataSource>
| Type | Description |
|---|---|
| JQueryPromise<DataSource> |
A JQuery Promise object that identifies whether the action succeeded.
|
showFederationQueryEditingDialog(
dashboardFederationDataSource: DevExpress.Dashboard.Model.FederationDataSource,
queryName: string
): void
| Name | Type |
|---|---|
| dashboardFederationDataSource | FederationDataSource |
| queryName | string |
showManageFederationQueriesDialog(
dashboardFederationDataSource: DevExpress.Dashboard.Model.FederationDataSource
): void
| Name | Type |
|---|---|
| dashboardFederationDataSource | FederationDataSource |
showSqlQueryEditingDialog(
dashboardSqlDataSource: DevExpress.Dashboard.Model.SqlDataSource,
queryName?: string
): void
| Name | Type |
|---|---|
| dashboardSqlDataSource | SqlDataSource |
| queryName | string |
Contains code that is executed when you register the dashboard extension.
start(): void
Contains code that is executed when you unregister the dashboard extension.
stop(): void