List API

Methods
destructor removes a List instance and releases occupied resources
getFocusIndex returns the index of an item in focus
getFocusItem returns the id of an item in focus
setFocusIndex sets focus to an item according to its index
Events
click fires on clicking an item
contextmenu fires on calling a context menu for an item
focusChange fires on moving focus to a new item
Properties
css adds a CSS class(es) to the component
data specifies an array of data objects to set into the list
dragCopy defines that an item is copied to a target during drag-n-drop
dragMode enables drag-n-drop in List
dropBehaviour defines the behaviour of a dragged item
height sets the height of List
itemHeight sets the height of an item
keyNavigation enables/disables navigation in List by arrow keys
template specifies a template for List items
virtual enables dynamic rendering of List items
Back to top