Dashboard Layout - PanelModel
30 Sep 20261 minute to read
Interface for a class Panel
Properties
col number
Defines the column value where the panel to be placed.
content string|HTMLElement|Function
Defines the template value that should be displayed as the panel’s content.
cssClass string
Defines the CSS class name that can be appended with each panel element.
enabled boolean
Defines whether to the panel should be enabled or not.
header string|HTMLElement|Function
Defines the template value that should be displayed as the panel’s header.
id string
Defines the id of the panel.
maxSizeX number
Specifies the maximum width of the panel in cells count.
maxSizeY number
Specifies the maximum height of the panel in cells count.
minSizeX number
Specifies the minimum width of the panel in cells count.
minSizeY number
Specifies the minimum height of the panel in cells count.
mobilePanelHeight number
Specifies the height of the panel in the layout in cells count for mobile view only.
When set, this height overrides the default sizeY value.
If null or undefined, falls back to sizeY.
row number
Defines a row value where the panel should be placed.
sizeX number
Specifies the width of the panel in the layout in cells count.
sizeY number
Specifies the height of the panel in the layout in cells count.
zIndex number
Specifies the z-index of the panel