All docs
V19.2
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

DataInspectorExtension Class

A Web Dashboard extension that is the Data Inspector.

Declaration

export class DataInspectorExtension extends DisposableObject implements IExtension

Remarks

To configure the extension, refer to the DataInspectorExtensionOptions class that contains the Data Inspector settings.

Inheritance

DisposableObject
DataInspectorExtension

Implements

Inherited Members

constructor(dashboardControl)

Initializes a new instance of the DataInspectorExtension class.

Declaration

constructor(dashboardControl: DashboardControl, options?: DataInspectorExtensionOptions)

Parameters

Name Type Description
dashboardControl DashboardControl

A Web Dashboard control that owns the extension.

Optional Parameters

Name Type Default Description
options DataInspectorExtensionOptions null

A DataInspectorExtensionOptions object that contains the extension options.

Properties

name Property

Specifies a unique extension name.

Declaration

name: string

Property Value

Type Description
string

A unique extension name. The return value is 'data-inspector'.

Remarks

Warning

Do not change a unique name of the extension registered in the Web Dashboard in order to avoid exceptions.

Methods

currentInspectedType Method

Identifies the data type in the Data Inspector.

Declaration

currentInspectedType(): InspectedType

Returns

Type Description
InspectedType

A InspectedType object that defines the displayed underlying data.

hideDataInspector Method

Hides the invoked Data Inspector dialog.

Declaration

hideDataInspector(): void

Remarks

Use the DataInspectorExtension.showDataInspector method to invoke the Data Inspector dialog.

showDataInspector(dashboardItemName) Method

Invokes the Data Inspector dialog with a defined data type for the specified dashboard item.

Declaration

showDataInspector(dashboardItemName: string, inspectedType?: InspectedType): void

Parameters

Name Type Description
dashboardItemName string

A string that specifies a component name of the dashboard item for which the Data Inspector displays data.

Optional Parameters

Name Type Default Description
inspectedType InspectedType null

A InspectedType object that defines the displayed underlying data.

Remarks

Use the DataInspectorExtension.hideDataInspector method to invoke the Data Inspector dialog.

start Method

Contains code that is executed when you register the dashboard extension.

Declaration

start(): void

stop Method

Contains code that is executed when you unregister the dashboard extension.

Declaration

stop(): void