Colspan dinamis dalam sudut

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