dashboard-js-devexpress-dot-dashboard-389536a4.md
A Web Dashboard extension that is the Data Inspector.
export class DataInspectorExtension extends DisposableObject implements ISupportOptionExtension<DataInspectorExtensionOptions>
To configure the extension, refer to the DataInspectorExtensionOptions class that contains Data Inspector settings.
For more information on how to enable and customize Data Inspector, refer to the following articles based on the platform:
You can enable export to Excel. Refer to the following topic for details: Export Data.
ISupportOptionExtension
DisposableObject DataInspectorExtension
See Also
Initializes a new instance of the DataInspectorExtension class.
constructor(
dashboardControl: DevExpress.Dashboard.DashboardControl,
options?: DataInspectorExtensionOptions
)
| Name | Type | Description |
|---|---|---|
| dashboardControl | DashboardControl |
A Web Dashboard control that owns the extension.
| | options | DataInspectorExtensionOptions |
A DataInspectorExtensionOptions object that contains the extension options.
|
Specifies the unique extension name.
name: string
| Type | Description |
|---|---|
| string |
The unique extension name. The return value is dataInspector.
|
Use the dataInspector 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 DataInspectorExtension’s events.
off: DevExpress.Dashboard.Internal.EventSubscriber<DataInspectorExtensionEvents>
| Type | Description |
|---|---|
| EventSubscriber<DataInspectorExtensionEvents> |
An event subscription.
|
Subscribes to DataInspectorExtension events.
on: DevExpress.Dashboard.Internal.EventSubscriber<DataInspectorExtensionEvents>
| Type | Description |
|---|---|
| EventSubscriber<DataInspectorExtensionEvents> |
An event subscription.
|
The extension’s on and off methods help you subscribe to and unsubscribe from events.
Identifies the data type in the Data Inspector.
currentInspectedType(): InspectedType
| Type | Description |
|---|---|
| InspectedType |
A InspectedType object that defines the displayed underlying data.
|
Hides the invoked Data Inspector dialog.
hideDataInspector(): void
Use the DataInspectorExtension.showDataInspector method to invoke the Data Inspector dialog.
Invokes the Data Inspector dialog with a defined data type for the specified dashboard item.
showDataInspector(
dashboardItemName: string,
inspectedType?: InspectedType
): void
| Name | Type | Description |
|---|---|---|
| dashboardItemName | string |
A string that specifies a component name of the dashboard item for which the Data Inspector displays data.
| | inspectedType | InspectedType |
A InspectedType object that defines the displayed underlying data.
|
Use the DataInspectorExtension.hideDataInspector method to invoke the Data Inspector dialog.
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