ShowPopupDashboard
Description
Shows a dashboard in popup window.
Syntax
// shellFrame points to instance of IShellFrame
const result = await shellFrame.ShowPopupDashboard(
dashboardID,
data,
titleOrOptions,
);
Parameters
Name | Type | Description |
---|---|---|
dashboardID | string | The dashboard ID as defined in Application Definition File (appdef file). |
data | any | The custom data that is passed for dashboard. Can be accessed with CustomDataProperty of IDashboard Interface. |
titleOrOptions | undefined | 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. |