I want to add a link next to node text in treeview. as shown in the following figure:

After some Google search, I found that there is no NodeTemplate in the tree and the text node is created manually, for example, this sample is the only way.
The only problem I am facing is that the built-in select function no longer works because the internal javascript select function is not called.
Is there any idea about a job or another way to achieve my goal?
source
share