Hello friends I have a problem with a table that paint a td dinamically within a tr using ngFor structural directive.
In the below case the td generated with de ngFor no throwing dblclick howerver click its works!
<table>
<thead>
<tr>
<td *ngIf="deleteActive" class="delete-input">#</td>
<th *ngFor="let f of tableFields">{{f}}</th>
</tr>
</thead>
<tbody>
<tr *ngFor="let r of tableData; index as i" (click)="rowClick(i,r)" (dblclick)="foo()" [ngClass]="{'selected': (i == selectedElementIndex)}">
<td *ngIf="deleteActive" class="delete-input"><input type="checkbox" (click)="selectedToDelete(i,r)"></td>
<td>{{r.name}}</td>
<td *ngFor="let authority of getAuthorities(r.authorities)">
ae
</td>
</tr>
</tbody>
</table>
When tds are static this problem does not occur, only appear when the td are generated dinamically using ngFor directive.
Thanks and I hope help me!