Answers for "material table get index of row"

0

material table get index of row

<ng-container matColumnDef="position">
  <th mat-header-cell *matHeaderCellDef mat-sort-header> Num. </th>
  <td mat-cell *matCellDef="let element; let i = index">{{i + 1}}</td>
</ng-container>
Posted by: Guest on September-28-2020

Browse Popular Code Answers by Language