jig.list
A list is a changeable, ordered sequence of elements and related values. They enable you to keep data together that belongs together, condense your code, and perform the same methods and operations on multiple values at once.

This type is very similar to the component List, with the only exception that list components is a component that you use on a Default jig with other items, whereas the List jig is a Jig dedicated to a list only.
Each item in a list can be called individually through indexing. Lists are a compound data type made up of smaller parts and are very flexible because they can have values added, removed, and changed. When you need to store a lot of values or iterate over values, and you want to be able to readily modify those values, you’ll likely want to work with list data types.
Each element or value that is inside a list is called an item.
As a List Jig, this component allows a few configuration options and is automatically added as a list on a widget if the sizing of the widget exceeds 1x1. See the list for information on the list widget. This component can also be added to a Default Jig where the list component is configured along with other content or components.
If the widget size exceeds 1x1 and no other widget types have been specified, the list will automatically appear on the widget with the specified elements
The List Jig can be configured in many various ways within the Jigx Builder:
- As a normal list (this is the main type - refer to the list-item component section for unique formatting options)
Looking to add a shopping cart or product list to your app? The Product-Item List comes with awesome out-of-the-box features that make it easy to build/achieve. Why not go check it out? 😎
We will also take a look at additional configurations available for the List Jig:
- Horizontal lists - isHorizontal property
- Ability to search and/or filter lists - isSearchable or filter properties
- As selectable items - isSelectable property
- As active items - hasActiveItem property
- List with sections - sections property
The code below is an extract from the full jigx-samples solution. The code snippets describe the component discussed in this section. For the solution to function in the Jigx app download the full jigx-samples project from GitHub, and follow the instructions in Setting up your solution.
- Developer reference



