Search results

NodeSelectEventArgs API in JavaScript TreeView API control

Interface for NodeSelect event arguments.

Properties

action

string

Return the name of action like select or un-select.

cancel

boolean

If you want to cancel this event then, set cancel as true. Otherwise, false.

isInteracted

boolean

If the event is triggered by interaction, it returns true. Otherwise, it returns false.

node

HTMLLIElement

Return the currently selected TreeView node.

nodeData

{ [key: string]: Object }

Return the currently selected node as JSON object from data source.