Do not manually insert a foldout control inside list view. Instead use list view’s built-in option for adding a foldout.
List view requires all visual elements to have the same height so that it can calculate a sensible scroller size.
itemHeight property must be set for the list view to function.
Use showAlternatingRowBackgrounds property to add alternating row background colors to the list view.
Use showBorder property to show a border around the list view.
List view contents are always displayed in a scroll view container to enable scrolling when the contents are larger than the viewport.
Selection state can be set to disable selections, have one selectable item, or have multiple selectable items by using selectionType property.
List view items can be dragged to reorder their position by using reorderable property.
A list view can contain and be paired with the following elements:
1. List view foldout
2. List view
3. List view row
Default state of a list view row.
When hovered, list view rows are highlighted.
When selected, list view rows are highlighted.
When focused, list view rows are highlighted in blue.
Disabled list view items.
Unity - Scripting API: