-
Notifications
You must be signed in to change notification settings - Fork 331
Open
Description
How can I make the items to be clickable, just like the icon, to toggle the expansion state?
I am not using selection features
Please find my current example working with only the icon being clickable, not the icons:
<tree-ngx [nodeItems]="tree" [options]="options" #treeRef>
<ng-template #nodeNameTemplate let-node="node" let-context="context">
<ng-container *ngIf="node.code; else Else">
<span>code: </span>
<a (click)="openTab(node.code)" class="link">
<span>{{node.code}}</span>
<i class="pi pi-external-link popIcon"></i>
</a>
</ng-container>
<ng-template #Else>
<span>{{node.name}}</span>
</ng-template>
</ng-template>
</tree-ngx>
Metadata
Metadata
Assignees
Labels
No labels