Matteo Scandolo | 44b7d6b | 2016-12-08 13:48:01 -0800 | [diff] [blame^] | 1 | <table> |
2 | <tr> | ||||
3 | <th *ngFor="let col of _config.columns">{{col.label}}</th> | ||||
4 | </tr> | ||||
5 | <tr *ngFor="let item of _data"> | ||||
6 | <td *ngFor="let col of _config.columns"> | ||||
7 | {{item[col.prop]}} | ||||
8 | </td> | ||||
9 | </tr> | ||||
10 | </table> |