Skip to main content

ShowPopupDashboard

Description

Shows a dashboard in popup window.

Syntax

// The dashboard variable here points to instance of IDashboard
const result = await dashboard.ShowPopupDashboard(
dashboardID,
data,
titleOrOptions,
);

Parameters

NameTypeDescription
dashboardIDstringThe dashboard ID as defined
in Application Definition File (appdef file).
dataanyThe custom data that is passed for dashboard.
Can be accessed with CustomDataProperty of IDashboard Interface.
titleOrOptionsstring | DialogUIParamsTitle and UI options of the dashboard.
String Type: Defines the title of the dashboard.
Object Type: Defines the title and other UI options [Eg: title/isModal/isResizable/isDraggable].

Return type

TypeDescription
Promise < IDashboard >The popup dashboard.