dynamischer Colspan in Angular

<tr *ngFor="let item of items">
  <th [attr.colspan]="item.colspan">{{ item.name }}</th>
</tr>
Successful Salamander