Unable to select node after setItemText


I have a simple TreeView configured and loaded from json.

It works correctly (so far) until I use

myTreeView.setItemText('1', '<b>Text</b>');

Then the node is bolded and contains new text, but I am unable to select it anymore.

Any ideas?


Yep, I can confirm the issue.

As quick solution, add the next styling

<style> .dhxtreeview_item_label b{ pointer-events: none; } </style>



It works. Thank you.