TreeEventHandler Class

Default tree event handler.

Implements

Methods

Name Description
constructor(params: TreeEventHandlerParams): TreeEventHandler    
dispose(): void Disposes tree event handler.  
onCheckboxStateChanged(__namedParameters: TreeCheckboxStateChangeEventArgs): undefined | Subscription Changes nodes checkbox states.  
onDelayedNodeClick(__namedParameters: TreeNodeEventArgs): void Activates node editing if editing parameters are supplied and node is editable.  
onNodeCollapsed(__namedParameters: TreeNodeEventArgs): void Collapses node  
onNodeDoubleClick(_: TreeNodeEventArgs): void This method is declared here to be overridden by classes that extend TreeEventHandler  
onNodeEditorActivated(__namedParameters: TreeNodeEventArgs): void Activates node editing if editing parameters are supplied and node is editable.  
onNodeExpanded(__namedParameters: TreeNodeEventArgs): void Expands node and starts loading children.  
onSelectionModified(__namedParameters: TreeSelectionModificationEventArgs): undefined | Subscription Selects and deselects nodes until event is handled, handler is disposed or selection replaced event occurs.  
onSelectionReplaced(__namedParameters: TreeSelectionReplacementEventArgs): undefined | Subscription Replaces currently selected nodes until event is handled, handler is disposed or another selection replaced event occurs.  

Properties

Name Type Description
modelSource Accessor ReadOnly TreeModelSource    

Defined in

Last Updated: 20 November, 2024