Hello,
I'm using a treeview control and I populate it with the following hierarchical data:
So each node has the following data model:
nodeId: string;
idFunction: string;
nodeText: string;
iconCss: string;
redirectInfo: RedirectInfo
where RedirectInfo is another model which contains some data used when the user clicks on a specific node, in order to navigate to another component.
The issue occurs when I click on a specific node, using the (nodeSelecting) event:
The $event data doesn't contain all the neccessary data that was added in the node model, it contains only the following:
I need to have in nodeData all the properties from the hierarchical data, like children, redirectInfo and so on.
This is the fields property assigned to the tree when the remote data arrives in the component:

How to add/access all the properties in the nodeData property from the $event?