Configuring the Dashboard
Summary
- The Dashboard is extremely configurable - both for run-time and design-time users
- Each element can be precisely set to meet the requirements of each time and user
Because the Dashboard is so personal to each AdapTable instance it is fully flexible and configurable.
Design Time Configuration
Design-time developers can configure all the properties in the Dashboard to meet their precise requirements.
Dashboard Configuration is achieved through a mixture of Initial Adaptable State and Adaptable Options as follows:
| Dashboard Feature | Provided |
|---|---|
| Tabs and (System) Module Toolbars | Dashboard Initial State |
| Pinned Toolbars | Dashboard Initial State |
| Custom Toolbars | Dashboard Initial State & Dashboard Options |
| Module Buttons | Dashboard Initial State |
| Custom Buttons | Dashboard Options |
| Buttons Location | Dashboard Options |
| Dashboard Modes | Dashboard Initial State |
| Dashboard Header Text | Dashboard Initial State |
| Application Icon | User Interface Options |
| Quick Search Input | Dashboard Options |
Find Out More
- Tabs, Toolbars, Buttons and Dashboard Modes are discussed in other pages in this section
- We will look at each of the other 4 options below
Developer Guide
Configuring the Dashboard at Design Time
Buttons Location
By default any Module (or Custom) Buttons are displayed on the right of the Dashboard - next to the Quick Search Input.
Alternatively the buttonsLocation property of Dashboard Options can be used to render them on the left.
Quick Search Input
The Quick Search Input performs a simple text search across all visible columns in AG Grid.
This is done using the Quick Search Module.
The Input is visible by default but by can be hidden by setting the showQuickSearchInHeader property of Dashboard Options to false.
showQuickSearchInHeader
Default: trueBooleanDashboard Header Text
The Dashboard's Header Text is set via the set via DashboardTitle property in Dashboard Initial State.
Hint
If not explicitly provided, the value of the adaptableId property in Adaptable Options is used
Application Icon
If an Application Icon is provided, AdapTable displays it in the Dashboard (as well as in Toast Notifications).
Note
- Application Icons are of the common Adaptable Icon object type
- They are provided via the
applicationIconproperty in User Interface Options
- This example shows some ways of configuring the AdapTable Dashboard including:
- setting
showQuickSearchInHeaderto false in Dashboard Options to hide the Quick Search Input - providing an Application Icon in User Interface Options
- configuring the
buttonsLocationDashboard Options so that Buttons are displayed on the Left - setting the Dashboard Title explicitly in in Dashboard Initial State
- setting
Expand to see the Dashboard configuration provided
Run Time Configuration
Run Time users are able to re-configure their Dashboard if needed.
Note
This is, of course, dependent on the run-time user having the correct Entitlements
In particular they can use the Dashboard section of the Settings Panel to:
- Create / Edit / Delete Tabs
- Decide which Toolbars are visible and placed into which Tab
- Manage Pinned Toolbars
- Configure the order and visiblity of Module (but not Custom) Dashboard Buttons
- Switch between Dashboard Modes
Caution
- Run-time users cannot create Custom Toolbars or Custom Dashboard Buttons
- They can set visibility and Tab placement of Custom Toolbars, but not Custom Dashboard Buttons
Switching Dashboard Modes
AdapTable allows run-time to switch between the available Dashboard modes in multiple ways, including:
-
Manually in the UI - users can Collapse / Expand the Dashboard by clicking on the active Tab, or Float / Dock the Dashboard by double-clicking the Title in the Dashboard Header
-
A Dashboard Menu Item in both Column and Context Menus enables all Dashboard Modes to be selected
-
A Dashboard Tool Panel in the AdapTable Tool Panel contains
Collapse,FloatandHiddencheckboxes
UI Step by Step Guide
Configuring the Dashboard using Settings Panel
CSS Configuration
Everything in AdapTable is fully themable using CSS Variables.
This allows developer complete control over the look and feel of the Application - including the Dashboard.
- By default all Toolbars (in the Active Tab) are shown in a long horizontal row.
- This means scrolling to the right is required if the Toolbars take up more space than the grid or enclosing window.
- However, as this demo illustrates, it can be easily 'fixed' by setting one of the many CSS Variables made available by AdapTable.