A slicer: the distinct values of one table column, of which selected
pass. Every slicer of a dashboard filters every item that reads its table
through relationships.
Members
Properties
id: string;Stable ID, unique on the dashboard.
Where the item sits on the dashboard grid, and its size.
kind: "slicer";Tags the item as a slicer in DashboardItem.
The table column whose values the slicer lists.
optional
Values that pass; absent means every value passes.
title?: string;optional
Caption; absent shows the column name.
itemsWithNoData?: "dim" | "hide" | "show";optional
How the slicer shows values that no row has under the other slicers. The
options follow Excel's slicer settings: "dim" (Visually indicate items
with no data, the default), "hide" (Hide items with no data) or "show"
(neither).
Declaration
View full TypeScript declaration
export interface DashboardSlicerItem { id: string; kind: "slicer"; title?: string; itemsWithNoData?: "dim" | "hide" | "show";}Referenced by
Public exports naming DashboardSlicerItem
DashboardItem@sheetwrite/core