ShowPopupDashboard
Description
Shows a dashboard in a separate window.
Syntax
// shellUI points to instance of IShellUI
const result = await shellUI.ShowPopupDashboard(
dashboardID,
data,
titleOrOptions,
);
Parameters
Name | Type | Description |
---|---|---|
dashboardID | string | The id of the dashboard to show. The string id must match to one of the dashboard ids in the application definition file (appdef file). |
data | any | User-defined data item that is passed to the new dashboard. |
titleOrOptions | 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 < object > | The popup dashboard. |