BusinessVariablePanel
Business Variable panel - dashboard variable display and interaction.
Use for displaying and interacting with dashboard variables in various layouts.
<BusinessVariablePanel title="Filters" displayMode="table" variable="instance" showAllOption/>| Prop | Type | Default | Description |
|---|---|---|---|
variable * | string | required | Variable name to control (without $ prefix) |
displayMode | 'table' | 'minimize' | 'button' | 'slider' | - | Display mode layout |
toolbarMode | 'tabs' | 'buttons' | - | Toolbar mode for tabs/buttons display |
header | boolean | - | Show panel header |
showLabel | boolean | - | Show variable label |
showName | boolean | - | Show variable name |
showResetButton | boolean | - | Show reset button |
filter | boolean | - | Enable filtering/search |
padding | number | - | Padding in pixels |
showAllOption | boolean | - | Show “All” option |
allowEmptyValue | boolean | - | Allow empty values |
allowCustomValue | boolean | - | Allow custom values |
sticky | boolean | - | Enable sticky positioning |
favorites | boolean | - | Enable favorites functionality |
favoritesStorage | 'browser' | 'datasource' | - | Store favorites in data source (requires Grafana 11.5+) |
alwaysVisibleSearch | boolean | - | Always show search (prevent hiding) |
persistent | boolean | - | Enable persistent mode (store in local storage) |
showCounts | boolean | - | Show total and selected counts |
treeViewLevels | TreeViewLevel[] | - | TreeView levels configuration |
groups | VariableGroup[] | - | Groups/tabs configuration |
selectedGroupId | string | - | Selected group ID for tab preservation across dashboards |
showStatus | boolean | - | Enable status display from data source thresholds |
redirectDashboard | string | - | Redirect to another dashboard on selection |
latencyRequest | number | - | Latency request delay in milliseconds |
treeViewWrap | boolean | - | Wrap values in TreeView |
minimizedIcon | string | - | Custom icon for minimized panel |
options | Record<string, unknown> | - | Additional options (passed directly to plugin) |
Props marked with * are required.
*Inherits from [Omit< BasePanelProps, ‘children’
](/grafana-react/api/types/#omit< basepanelprops, ‘children’ )*