list
Whenever a list jig is configured either in the list , or list-item component, the list is automatically populated on the surface of the widget without needing additional configuration. There is also the option to extend the list widget by using the Extend List Widget property, which reuses the list jig configuration and its data to extend or override some of the properties in the widget. The item data is called from [email protected].
There are, instances when you want to create a list widget on a jig that is not a list jig, such as a jig.default. This is primarily where the list widget is used.

Configuration options
A list widget can be used on any type of jig, i.e. list, default, composite, calendar and document.
Core options
item
The item property includes the setup options of: Product-item List-item
Other options
badge
Add a badge to the list widget to highlight critical information and capture the user's attention, ensuring key updates or notifications are easily noticeable within the app. The badge can be configured at the root level of the jig file:
To display as a red dot using the
emptyvalue.A red dot with a number using an expression to perform a count. For example, counting the number of tasks in the list.
bottom
The component will be added to the bottom of the widget.
data
Provide the datasource for the list. For example: data: [email protected]
footer
Add text to the footer of the widget.
footerAlign
Align the footer text to left, right, center.
placeholders
Specify a placeholder text to display if there is no data, for example - title: No data to display.
top
The component will be added to the top of the widget.
State Configuration
Key
Notes
amount checked
Applies to a list, list.item, product-item, and stage components. List's data is an array of records. The [email protected] is the state of the current object in the array.
Configuration options for extended list widget
The Extended List Widget can only be used on a list jig . The purpose of using this widget is to customize what shows in the widget on the Home Hub rather than showing its automatic list display. The Extended List Widget must be configured with a size 2x2 or greater. Reuse the data in the list jig , for example, [email protected] or [email protected].
Core options
item
The item property includes the setup options of:
Examples and code snippets
Automatic widget display because of list jig type (Simple)

When using a jig.list and any size widget larger than 1x1 the list will automatically be displayed without additional configurations. This is visible in this example.
In this example, the list on the widget is the same as the jig.list once the widget has been accessed.
Examples: See the complete example using static data in GitHub. See the complete example using dynamic data in GitHub.
Datasources: See the complete datasource for static data in GitHub. See the complete datasource for dynamic data in GitHub
Automatic widget display because of list jig type (UI elements)

When using a jig.list and any size widget larger than 1x1 the list will automatically be displayed without additional configurations.
In this example, the list on the widget is exactly the same as the jig.list once the widget has been accessed.
Examples: See the complete example using static data in GitHub. See the complete example using dynamic data in GitHub.
Datasources: See the complete datasource for static data in GitHub. See the complete datasource for dynamic data in GitHub.
List widget with stage component items
This example is for list items that have a left and right element and shows a start-and-end. An example of this is flight schedules, however, this can be used for many different use cases as you can choose a different icon. Here a slightly different setup is used to that in the actual list to show you the widget configuration.
Examples: See the complete example using static data in GitHub. See the complete example using dynamic data in GitHub.
Datasources: See the complete datasource for static data in GitHub. See the complete datasource for dynamic data in GitHub.

List widget with product items

This example shows product items with their images and respective prices.
Examples: See the complete example using static data in GitHub See the complete example using dynamic data in GitHub
Datasources: See the complete datasource for static data in GitHub. See the complete datasource for dynamic data in GitHub.
List widget with list items

Extended list widget 2x4, 4x2, 4x4
This example shows how the Extend List Widget reuses the data from a single jig.list to customize the widget's appearance. In the image above:
The first widget is the default
2x2widget that is automatically displayed.The second widget is a
2x4using theExtend List widgetto only show thetitlesin the list.The third widget is a
4x2using theExtend List Widgetwith acomponent.stageconfiguration.The fourth widget is a
4x4using theExtend List Widgetto show a customizedleftElementandRightElement.
Group list widgets
See the following examples under groups:
Group with chart and list (size: 4x4, split: horizontal)
Group with chart and list (size: 4x4, split: vertical)
Group with avatar and list (size: 4x2)
Group with value and bar-chart (size: 2x4)
See also
Last updated
Was this helpful?