I added a custom column for angular-material table. For that custom column I have same data for all td in entire table. I need to row span for entire column. I forked the project where I added vendor number custom columnwhere I need to implement this.
I tried these methods
dataLength = DATA.length;
<ng-container matColumnDef="Vendor Number">
<th mat-header-cell *matHeaderCellDef>Vendor Number</th>
<td mat-cell *matCellDef [attr.rowspan]="dataLength">vendorNumber</td>
</ng-container>
The above method is mixing in other columns also. Please help me on this. Thank you.
https://stackblitz.com/edit/angular-lnahlh-fby2pp?file=app%2Ftable-basic-example.html