tabstrip
tabstrip, tile type
The tabstrip tile displays a tab selector for an existing named
tabs tile in region mode.
It does not define a tabset by itself. Instead, it references a previously
declared named show tabs, either through the tabset identifier or through one
or more individual tab identifiers.
Example
myTabs = show tabs "" with
Demand
Leadtime
show tabstrip "" with
myTabs
This references the whole tabset through the myTabs identifier and
renders the tabs in the same order as the source show tabs.
Reordering and per-tab labels
myTabs = show tabs "" with
Demand
Leadtime
show tabstrip "" { tabsVariant: vertical; size: -1 } with
Leadtime { as: "Lead time" }
Demand
This references individual tabs instead of the whole tabset. The listed tabs appear first, in the order they are written. Any tabs from the same tabset that are not listed are appended afterward in their original order.
Remarks
show tabstrip does not accept group by or order by.
If the first column references a named show tabs, then it must be the only
column of the show tabstrip.
If the columns reference individual tabs, then all of them must come from the
same named show tabs.
The tab-level selector as renames the tab inside that specific tabstrip only.
It does not rename the original tab identifier.
StyleCode
For generic StyleCode rules, see stylecode.
The tabstrip tile supports:
tabsVarianton the tile, with valueshorizontal,vertical, orselect.sizeon the tile.ason individual tabs.
In the current dashboard renderer, horizontal and vertical are implemented.
The select variant is parsed by StyleCode but is not rendered yet.