Skip to main content
A newer version of this page is available. .

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