<*ngFor="let row of Rows; let i = index">
我有两个数组,我需要用列顺序显示,所以我会
get{{Columns[i].field}} then {{row.{{Columns[i].field}}}}
这是否适用。有什么变通办法吗??
我必须制作两个ngfor才能工作
`<tr *ngFor="let row of Rows">
<td *ngFor="let column of Columns">
{{row[column.field]}}
</td>
</tr>`