Table Widget
Last updated
Last updated
General Setting
User can change following things in Table widget:
Name for widget which will be used data referenceFor Example, if widget name is 'Table', then data of widget is referenced as Table.data
Show title - User can show/hide widget title
Title Color
Background Color
Widget Setting
In Widget Setting option, user can change following parameters:
Filename - User can change name of Exported file. Default file type is .xlsx and default file name is 'thingsup.xlsx'.
User can select a source mode as MQTT or Action.
Using MQTT
Here, to change value of Text Widget user can publish JSON array on given testData MQTT topic. No need to provide <account_id> while providing the MQTT topic. The JSON array will be as below.
Using Action
Here, to update the table widget, output of the action should contain JSON array as given format in above example. User can also update the widget either onLoad or periodically by providing refresh interval.
Table widget does not support any event.
If we configure Table widget with source type for widget as MQTT and topic configured is 'data'. And if we publish following JSON array over 'data' topic then Table Widget will look as shown in image.