Events
This article provides details about the event available in the TreeView API.
List of available TreeView events
- TreeViewCheckChangeEvent - Triggered when a node in the TreeView is checked or unchecked.
- TreeViewItemClickEvent - Triggered when a node in the TreeView is selected.
- TreeViewExpandChangeEvent - Triggered when a parent node in the TreeView is expanded/collapsed.
- TreeViewItemDragStartEvent - Triggered when a drag of node in the TreeView is started.
- TreeViewItemDragEndEvent - Triggered when a drag of node in the TreeView ends.
- TreeViewItemDragOverEvent - Triggered when a node in the TreeView is dragged.
CheckChange, ItemClick and ExpandChange events demo
The below example demonstrates the usage of the TreeViewItemDragStartEvent
, TreeViewItemDragEndEvent
and TreeViewItemDragOverEvent
events.
Dragging events demo
The below example demonstrates the usage of the TreeViewCheckChangeEvent
, TreeViewItemClickEvent
and TreeViewExpandChangeEvent
events.