Static tables are tables where each cell represents a different piece of information, and it can either be fixed text or data from a variable.
Editing the static table
It is possible to customize widget color, apply a formula to a cell, edit options, and more.
This widget also accepts features like metadata, that can be set in your variable data.
To edit a specific cell of this widget, you must hover over the desired element and click on it. Promptly, a new page will appear on the right side with all the editable options for the selected element.
You can delete a row or a column by clicking on the top right corner and selecting the option.
This widget works for both dashboards, Normal and Blueprint.
1. 'Data From' Field
Each cell can display the last value of the variable by the Data From field; it allows you to set the device and variable that will be used in this widget.
This field is dependent on the type of dashboard you are using; the difference is explained below.
1.1 'Data From' for Normal Dashboards
From the option 'Data From' on the right menu, select one device from your list of devices and the variable that contains the data.
1.2 'Data From' for Blueprint Dashboards
From the option 'Data From' on the right menu, add the Blueprint device and input the name of the variable that contains the information.
When using a Blueprint dashboard, the field Variable will not list variables to be picked because it doesn't know the devices linked to your Blueprint Device
2. Data visualization
The static table offers the possibility of customizing each cell's data visualization. It is possible to apply Formula, make cell colors change based on conditions, use icons to represent your data, change text properties (bold, italic, underscore), and more.
The color cell can be sent by the variable metadata.
3. Editing Data
You can allow users to modify a variable's value inside of a table by enabling the edit option located inside the cell's configuration.
It is possible to set some cells as required when editing the row value
Static Table offers a variety of field types to indicate what kind of value will be able to be submitted in the input once the user modifies it. These types are Text, Password, Number, Dropdown, Dropdown Multiple, and Address.
These field types have the same behavior as the Input Form fields.