List View (legacy)

A list that renders each item from an array of data using a custom-built row of components. It supports unique row keys and displays rows using dynamic or fixed height.

List View's row can contain any combination of components to customize how data is interacted with or presented.

Refer to our guide on creating custom list views to learn more.

Properties

Available properties for List View (legacy). You can write JavaScript almost anywhere in Retool to manipulate or read information about components.

NameDescriptiondata

An array of all the value fields of the child components.

instances
itemHeight
scroll
showBorder

Disable to hide the border on the list view

showDropShadow

Disable to hide the drop shadow border on the list view

dynamicHeightsEnabled

Methods

Methods for interacting with List View (legacy). You can write JavaScript almost anywhere in Retool and use methods to manipulate data or components.

NameDescriptionscrollIntoView(options: any)

Scrolls the canvas or parent container so that the selected component appears in the visible area.