JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › General Discussions › CHange the tree nodes into clickable anchor tags
Tagged: smart-tree
<div>
<smart-tree #tree id="tree" value-member= id [scrollMode]="'scrollbar'" [selectionMode]="'one'" [dataSource]="account3" [toggleMode]="'click'" [autoLoadState]="true" [autoSaveState]="true" [filterable]="true" [filterMode]="'containsIgnoreCase'" (click)="selectAccount($event)" > </smart-tree>
by above I’m getting the tree but I wanna make the each node of the tree into clickable anchor tag.How can I acheive it?
Thank You
</div>
Hi,
The ‘change’ event is raised when you select an item. Then depending on the selected item, you can use window.open method to open a link.
Best regards, Markov
Smart UI Team https://www.htmlelements.com/