JavaScript UI Libraries & Blazor Components Suite – Smart UI Forums General Discussions CHange the tree nodes into clickable anchor tags

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #111376
    Shahbaz Ali
    Participant

    <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>

    #111379
    Markov
    Keymaster

    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/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.