All docs
V21.1
21.2 (EAP/Beta)
21.1
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
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.

DashboardExportExtensionEvents Interface

Describes events this extension fires.

Declaration

export interface DashboardExportExtensionEvents

Remarks

Find the extension by its name (dashboardExport) and pass the event handler’s name to subscribe on the DashboardExportExtension events.

The following code handles the DashboardExportExtensionOptions.onExportDialogShowing event:

function onBeforeRender(dashboardControl) {
  let exportExtension = dashboardControl.findExtension("dashboardExport");
  if (exportExtension) {
    exportExtension.on('exportDialogShowing', customizeDialog);
  }
}
function customizeDialog(args) {
  // ...
}

Properties

exportDialogHidden Property

A handler for the event that occurs when the export dialog is hidden.

Declaration

exportDialogHidden: DashboardExportDialogArgs

Property Value

Type Description
DashboardExportDialogArgs

An object that provides data for the event.

Remarks

Main article: onExportDialogHidden

exportDialogShowing Property

A handler for the event that occurs before the export dialog is shown.

Declaration

exportDialogShowing: DashboardExportDialogArgs

Property Value

Type Description
DashboardExportDialogArgs

An object that provides data for the event.

Remarks

Main article: onExportDialogShowing

exportDialogShown Property

A handler for the event that occurs after the export dialog is shown.

Declaration

exportDialogShown: DashboardExportDialogArgs

Property Value

Type Description
DashboardExportDialogArgs

An object that provides data for the event.

Remarks

Main article: onExportDialogShown