Skip to content

BasicList ​

The component BasicList is used for the rendering of list elements. The component builds renderers for all elements, therefore it is used for the list with a small number of elements.

Properties ​

  • HTMLElement

  • Element tag: cm4ap-basic-list

Parameter ​

Parameters in the Layout ​

NameTypeDescription
itemRendererstring
default:cm4ap-default-list-item-renderer
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.
gridboolean
default: false
Defines whether the BufferedList should be displayed as a tile view. All other settings regarding the tile view are made via the zoomActor (see below).
listActorListActorThe data held in the ListActor is represented by the BufferedList.
selectionActorSelectionActorThe SelectionActor manages selected or marked objects. It is used by the BufferedList to make list entries selectable or markable (more details).
zoomActorZoomActorOnly if grid = true
If a ZoomActor is passed to the BufferedList, it is able to adjust the tile size depending on the information in the ZoomActor (more details).

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 the functionality.

Tile Zooming ​

By default, each tile is 200 px x 200 px. With each zoom in or out the size changes by 10 px in both dimensions. The default size of a tile can be overridden by the ItemRenderer used.

Request missing documentation