# ListBase
The component ListBase
is used for the rendering of list elements as a buffered list. The component is mostly used when the list requires horizontal scrolling.
The advantage of using a buffered list as the displaying component is the possibility to reuse ItemRenderers. The buffered list does not create a separate ItemRenderer for each data set, but only as many as required.
For example, if a list is scrolled, the data in the ItemRenderers is only updated instead of creating new ItemRenderers. That in turn leads to a better performance.
# Properties
HTMLElement
BaseComponent
Element tag:
cm4ap-list-base
# Parameter
# Parameters in the Layout
Name | Type | Description |
---|---|---|
itemRenderer | string | The class name of the ListItemRenderer component to be used as the ItemRenderer. Must be either the ListItemRenderer component or a component based on it. |
listActor | ListActor | The data held in the ListActor is represented by the BufferedList. |
selectionActor | SelectionActor | The SelectionActor manages selected or marked objects. It is used by the BufferedList to make list entries selectable or markable. |
# Selecting and Marking
In order for object selections and markings to be visible to system users, an ItemRenderer is required that supports this. The ListItemRenderer component is such an ItemRenderer.
All components based on the ListItemRenderer
should be checked individually to see if they override this functionality.