Dataview API

Methods
destructor removes Dataview instance and releases occupied resources
edit enables editing of an item
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
Events
afterEditEnd fires after editing of an item is ended
afterEditStart fires after editing of an item has started
beforeEditEnd fires before editing of an item is completed
beforeEditStart fires before editing of an item has started
click fires on clicking an item
contextmenu fires on calling a context menu for an item
doubleClick fires on double clicking 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 dataview
dragCopy defines that an item is copied to a target during drag-n-drop
dragMode enables drag-n-drop in DataView
editing enables editing in DataView
gap sets margins for DataView items
itemsInRow specifies the number of data items in a row
keyNavigation enables/disables navigation in DataView by arrow keys
multiselection enables selection of multiple DataView items
multiselectionMode sets the mode of multiselection
template specifies a template for DataView items
Back to top