Dynamic Control
The Dynamic Control Widget is used to control the behaviour and visibility of other widgets within a report using Variables. It works by assigning a Variable Name and Variable Value, which interact with supported widgets to trigger dynamic actions and changes.
Dynamic Controls can be used to:
- Switch between Panel layers.
- Make other widgets visible or hidden.
- Toggle widget states.
- Create dynamic and interactive report experiences for end users.
caution
There is no autosave feature for Reports. Click Save regularly while working in the Report Workspace.
Dynamic Control Widget Configuration
After inserting and selecting the Dynamic Control widget, its configuration options are displayed in the right-side Settings Panel under the Dynamic Control tab.
- Variable Name — Set the variable name for this control. This must exactly match the variable name used in the target widget(s) you want to control.
- Variable Value — Set the variable value for this control. This must match the value configured in the target widget(s).
- Toggle on Click — When enabled, the Dynamic Control toggles between active and non-active states when clicked.
- Variant — Choose the display style for the control widget:
- Text — Displays as a simple text button without borders, with a background highlight on hover.
- Outlined — Displays with an outlined border, with a background highlight on hover.
- Contained — Displays as a filled button with a solid background colour.
- Icon — Displays as an icon-only button without text.
- Font Styles — Customise the font appearance for the control label, including Font Family, Font Size, and Font Weight.
- Non-active Config — Configure the appearance of the control when it is not active:
- Label — Custom label for the non-active state.
- Color — Background or display colour for the non-active state.
- Default Icon — Icon for the non-active state.
- Active Config — When enabled, separate styling options become available for the active state:
- Label — Custom label for the active state.
- Color — Background or display colour for the active state.
- Default Icon — Icon for the active state.