I have a table with 4 columns-Name, id, Dept, City and I'm providing both row data and column data as an array from a typescript file and iterating through *ngFor. Here is my piece of code
<tbody>
<tr *ngFor=let rowData of data | orderBy:convertSorting()>
<td *ngFor=let column of columns>
{{rowData[column.columnValue] | format:column.filter}}
</td>
</tr>
</tbody>
I want to provide a hyperlink to all the rows of second column i.e city so that if I click that, it should navigate to a new page to display detailed info. How do I achieve it using *ngFor?