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
| Name | Optionality | Type | Description |
|---|---|---|---|
| dashboardID | Required | string | The dashboard ID as defined in Application Definition File (appdef file). |
| data | Required | any | The custom data that is passed for dashboard. Can be accessed with CustomDataProperty of IDashboard Interface. |
| titleOrOptions | Required | string | DialogUIParams | Title 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
| Type | Description |
|---|---|
| Promise < IDashboard > | The popup dashboard. |