Hi Laurens Albers,
We have explained the event binding in below documentations. Please check it.
Bind the nodeClick event for TreeView component.
|
[HTML]
<ej-treeview id='treeview' [fields]='fields' (nodeClick)="onNodeClick($event)" ></ej-treeview>
[TS]
onNodeClick(args){
alert("Node Click Event Triggred");
} |
For your reference, we have prepared simple sample for this requirement, please check the sample in below location.
To know more details about nodeClick event, please check the below API documentation.
Please let us know, if the provided information’s are helpful to achieve your requirement or not.
Regards,
Ashokkumar B.