Property List widget
Displays a list of name-value pairs as a simple two-column table. Its used for displaying properties of an object or an arbitrary list of name/value pairs.
In-ports
data JSON
- properties to display.
config JSON
- widget configuration parameters.
Out-ports
on-click Bool
- emits boolean true
when user clicks on the widget. Event is emitted only when widget is in interactive mode.
Overview
Properties List widget supports a special format that describes the name, value and converter (optional) of the items in the list. Here is the format definition:
Property | Description |
---|---|
name | The name of the metric. |
value | The value of the metric. |
converter | Formatting function. Default is none . |
See Value Formatters to learn how to format values of different types.
In interactive mode the widget will become clickable and change the background on mouse hover. It will emit an event with boolean true
value on click.
The following is an example of the input data:
Settings
Title
The widget title. It is displayed on top of the widget in the tile header. To hide the header, leave the Title blank.
Primary metric index
Index of the primary metric. Its the index of the object in the input data array. Note that index starts from 0
. Only one metric can be primary.
Interactive mode
Interactive mode controls whether the widget should respond to user interactions. If turned on, hovering over the widget will change the background to blue and change the mouse cursor to a pointer.
Hide progress bar
Controls the visibility of widget progress bar (visible by default).
Hide help icon
Controls the visibility of help icon (visible by default).