You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<mat-table[dataSource]="dataSource"><!-- User name Definition --><ng-containercdkColumnDef="username"><mat-header-cell*cdkHeaderCellDef> User name </mat-header-cell><mat-cell*cdkCellDef="let row"> {{row.username}} </mat-cell></ng-container><!-- Age Definition --><ng-containercdkColumnDef="age"><mat-header-cell*cdkHeaderCellDef> Age </mat-header-cell><mat-cell*cdkCellDef="let row"> {{row.age}} </mat-cell></ng-container><!-- Title Definition --><ng-containercdkColumnDef="title"><mat-header-cell*cdkHeaderCellDef> Title </mat-header-cell><mat-cell*cdkCellDef="let row"> {{row.title}} </mat-cell></ng-container><!-- Header and Row Declarations --><mat-header-row*cdkHeaderRowDef="['username', 'age', 'title']"></mat-header-row><mat-row*cdkRowDef="let row; columns: ['username', 'age', 'title']"></mat-row></mat-table>
The text was updated successfully, but these errors were encountered:
https://material.angular.io/components/table/overview#tables-with-code-display-flex-code-
The text was updated successfully, but these errors were encountered: