Configuring the properties of widget components
Widget support is deprecated and will be removed in a future release. See Deprecation Notice – Qlik Sense Widgets and Custom Components FAQ for more information.
This section describes how to configure the properties of components that have been added to a widget in the properties panel builder.
When you have added a UI component to a widget in the properties panel builder, you can configure its properties. To configure components in a widget, select the widget, and click the edit icon at the bottom of the properties panel builder. Click on the settings icon
of the component you want to configure.
The following table describes the components that can be added to a widget and the settings in each that can be configured.
Component | Properties | Comment |
---|---|---|
Data |
|
Set the Min values to be greater than zero if you want to allow a dimension/measure to be added to the widget. By default, the data component allows one measure to be added. Adjust the Min and Max values as required. |
Sorting | - | This component is blank until you add at least one dimension or a measure to the data component. When two or more dimensions and/or measures have been added, you can reorder the sorting of data in the widget by dragging dimensions/measures to a different position, just as in the properties panel in standard visualizations. |
Header |
Label: Settings |
This component provides a name for a subsection under Appearance for you to add UI components found under Items in the available components panel. You must add a header before you can add any of the UI components. |
Input field, Checkbox, Text area, Dropdown list, Radio buttons, Switch |
|
All UI components have the following settings:
|
Input field | Default value |
Can be set to an expression. |
Checkbox |
Default value: False |
Set to True or False. |
Text area |
|
- |
Dropdown list |
|
To add options for the user to choose from in the dropdown list in the widget, click Add. For each option there is a Label field and a Value field, which cannot be left empty. Click in the fields to edit. You can then select a default option, if required. |
Radio buttons |
|
By default, there is one radio button with the default label Option and value label Value. To add further radio button options for the user to choose from in the widget, click Add. For each added option there is a Label field and a Value field, which cannot be left empty. Click in the fields to edit. You can then select a different default option, if required. |
Switch |
|
By default, the switch has labels True and False, with value labels Label true and Label False. The default setting can be with the switch to the right or left. |