Events

onAfterAdd fires after adding an item to the datastore
onAfterClose fires after the branch has been closed
onAfterContextMenu fires after the context menu was called in the item area
onAfterDelete fires after an item is removed
onAfterLoad fires after data loading is complete
onAfterOpen fires after the branch has been opened
onAfterRender occurs immediately after the component has been rendered
onAfterScroll occurs when some webix view has been scrolled
onAfterSelect fires after an item has been selected
onAfterSort fires after sorting dataset
onAfterUnSelect fires after an item has been selected
onBeforeAdd fires before adding an item to the datastore
onBeforeClose fires the moment you attempt to close the tree branch
onBeforeContextMenu fires before the context menu is called in the item area
onBeforeDelete fires before an item is removed
onBeforeLoad fires immediately before data loading has started
onBeforeOpen fires the moment you attempt to open the tree branch
onBeforeRender occurs immediately before the component has been rendered
onBeforeSelect fires before item selection has started
onBeforeSort fires before sorting of the dataset
onBeforeUnSelect fires before unselection of an item has started
onBindRequest fires when the component is ready to receive data from the master component
onBlur fires when focus is moved out of the view
onDataRequest fires when data from the server is requested for linear data structures (List, DataTable, DataView etc.) to implement dynamic data loading
onDataUpdate fires when a data item is being updated
onDestruct occurs when component destroyed
onEnter fires when the Enter key has been pressed
onFocus fires when a view gets focus
onItemCheck called when the checkbox inside the tree item was checked
onItemClick fires when a component item was clicked
onItemDblClick fires when a component item was double-clicked
onItemRender for each item rendering, occurs only for items with custom templates
onItemSingleClick allows distinguishing between single and double-click events
onKeyPress occurs when keyboard key is pressed for the control in focus
onLoadError fires when an error occurs during data loading (invalid server side response)
onLongTouch fires on holding finger in some position for a certain period of time
onMouseMove fires when the mouse was moved over the specified component
onMouseMoving fires when the mouse was moved over the component
onMouseOut fires when the mouse was moved out from the specified item
onPartialRender called when part of tree is repainted
onPaste fires when the clipboard is enabled and the user presses CTRL+V keys combination
onSelectChange fires after selection state was changed
onSwipeX occurs on a horizontal swipe movement
onSwipeY occurs on a vertical swipe movement
onTabFocus fires after a tab focus has been changed
onTimedKeyPress fires after typing has been finished in the field
onTouchEnd occurs when the touch event is ended
onTouchMove occurs during touch movement
onTouchStart fires when some webix view has been touched
onValidationError fires when newly loaded/added/edited data fail to pass validation
onValidationSuccess fires after the newlyloaded/added/edited data has passes validation successfully
onViewResize fires when the size of a view has been changed by resizer
onViewShow fires when any hidden view is shown
Back to top