Dataview API

destructor removes Dataview instance and releases occupied resources
getFocusIndex returns the index of the item in focus
getFocusItem returns the object of an item in focus
setFocusIndex sets focus to an item according to its index
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
arrowNavigation enables/disables navigation in DataView by arrow keys
css adds a CSS class(es) to the component
data specifies an array of data objects to set into the dataview
dragCopy defines that an item is copied to a target during drag-n-drop
dragMode enables drag-n-drop in DataView
dropBehaviour defines the behaviour of a dragged item
gap sets margins for DataView items
itemsInRow specifies the number of data items in a row
template specifies a template for DataView items
Back to top