Events

onAfterAdd fires after adding item to datastore
onAfterClose fires after the branch has been closed
onAfterContextMenu fires after the context menu was called in the item area
onAfterDelete fires after item deleting
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 item was selected
onAfterSort fires after sorting dataset
onBeforeAdd fires before adding item to 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 item deleting
onBeforeLoad occurs immediately before data loading has been 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 is started
onBeforeSort fires before sorting dataset
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 data item is in update process
onDestruct occurs when component destroyed
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
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
onTimedKeyPress fires after typing has been finished in the field
onTouchEnd occurs when the touch event is ended
onTouchMove occurs during touch movement
onTouchStart when some webix view has been touched
onValidationError fires when newly loaded/added/edited data fails to pass validation
onValidationSuccess fires after the newlyloaded/added/edited data has passes validation successfully
onViewResize view size was changed by resizer
Back to top