gridLayouts Properties
The gridLayouts key defines all layouts for the dashboard. It contains a separate node for each layout. Each layout has properties that provide information about the devices that can use the layout and the placement of each widget in the layout. It also contains dashboard properties, like cell spacing in the grid and the dashboard’s background color or image.
| Property Name | Type | Details |
|---|---|---|
name | String | Name of the layout. Included in the Dashboard Designer’s user interface. |
maxWidth | Maximum width (in pixels) that the dashboard can use. If needed, CRM Analytics rearranges the existing dashboard widgets based on this setting in the layout. | |
numColumns | Integer | The number of columns in the designer grid for this layout. Included in the Dashboard Designer’s user interface. |
pages | Array | Contains properties that specify the name and ID of the page, and determine the placement of each widget in the dashboard layout. Not included in the Dashboard Designer’s user interface. |
rowHeight | String | The height of each row in the designer grid for this layout. Valid values are fine and normal (default). Included in the Dashboard Designer’s user interface. |
selectors | Array | Device requirements that help CRM Analytics choose the optimal layout for the device accessing the dashboard. Included in the Dashboard Designer’s user interface. |
style | Array | Properties about the designer grid, including columns, rows, cell spacing, and background. Included in the Dashboard Designer’s user interface. |
-
The
pageskey contains properties that determine the placement of each widget in the dashboard layout. Currently, the Dashboard Designer supports only one page for each layout. -
The
selectorskey contains layout properties that specify the layout name, designer grid settings, background settings, and requirements for devices that can use this layout. -
The
stylekey contains the dashboard properties, like cell spacing in the grid, as well as the dashboard’s background color or image.