The List View component for Retool Apps
A repeatable list of components with values that map to a list of data.
Properties
All properties for this object with supported data types or values. You can write JavaScript almost anywhere in Retool to manipulate or read property values.
data
The data.
| Type | string | number | boolean | object | array |
| Format | Custom data |
| Configurability | Inspector |
| Default | null |
direction
The layout of content.
| Type | string | ||||||
| Configurability | Inspector | ||||||
| Allowed Values |
| ||||||
| Default | null |
enableInstanceValues
Whether to enable instance values. When true, descendent values are evaluated with a formDataKey property for all instances, including those that haven't been evaluated yet due to virtualization. These values are aggregated on the instanceValues property.
| Type | boolean |
| Configurability | Inspector |
| Default | null |
formDataKey
The key used by a Form component to assign default values to input fields using form.initialData, and to construct the form.data property.
| Type | string |
| Format | Plain Text |
| Configurability | Inspector > Interaction > Form data key |
| Default | {{ self.id }} |
Examples
falsetable1.selectedRow.id
heightType
Whether List View height automatically adjusts to fit content or is a fixed size.
| Type | string | ||||||||
| Format | Plain Text | ||||||||
| Configurability | Inspector > Spacing > Height | ||||||||
| Allowed Values |
| ||||||||
| Default | fixed |