Hi there,
How to make treenode as hyperlink?
Visual representation of nodes can be tuned with thetemplate
property. Please, check the general docs and the tree-related article
Here’s also a demo: http://webix.com/snippet/dd82699d
Hey,
Its working as link,but when you click on the node its hiding.
Thanks,
Mira Karale
As it’s a link to about:blank
, an empty page opens in iframe where the view is initialized.
Please check http://webix.com/snippet/0ab53c3b
Hey,
still same problem.
Its matter when you opening on the same page instead of in iFrame.
My bad, in the above sample one thing is missed: for now, the default tree template contains also a span wrapper for the value. Thus, a custom template should have the same structure to render the selection properly.
Something like
return tree_template + "<span>" + obj.value + "</span>"