How to create a node template for a tree?

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

enter image description here

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?

+5
source share

All Articles