Introduction
Base class for Flex List controls

Fields#
| Name | Description |
|---|---|
| Auto Select First Item | Automatically select the first item on start |
| Grid Template | Prefab to create for displaying item in grid |
| List Template | Prefab to create for displaying item in list |
| Scroll Rect | Transform to place prefabs inside |
| Plugins | List of filter/sort plugins |
| Cell Size | Grid cell size |
| Cell Spacing | Grid cell spacing |
| Padding | Layout padding |
| List Spacing | List spacing |
| On Selection Changed | Event raised when selection changes |
Properties#
| Name | Description |
|---|---|
| itemsPerRow | Get number of items per row in Grid mode |
| options | Get list of options |
| selectedIndex | Get/Set selected index |
| selectedItem | Get the selected item |
Methods#
| Name | Description |
|---|---|
| AddOption | Add an option to the list |
| SetFilter | Sets the filter |
| SetFilterFromInput | Sets the filter from an input field |
| SetRequireImage | Sets if images are required in the filter |
| SetRequireImageByCheckbox | Sets if images are required in the filter via a checkbox |
| SetSort | Sets the sort mode |
| SetSortByDropdown | Sets the sort mode from a dropdown |
| SetGrid | Set grid mode |
| SetLayout | Set display mode (Grid/List) |
| SetList | Set layout mode |