I want to use the tree view component as my navigation element.
What is the best way to do so?
I have attached an event listener to the event "nodeClicked" and want to use the arguments to change the content of the content area to the right.
I can read the arguments but the only property which is useful is "innerText" where I get the caption of the menu entry.
I don't know how I can get the id of the node or other parameters like the "url" which I have added to the structure of the dataSource object of the TreeView.
So there will be extra work to add another structure where I have to match the innerText to my target url.
And I also have to deal with internationalization where the names of the nodes are different form language to language.
Your examples of the outlook like webmal client are to big and complex to understand what the best way is to achieve my goal.