/
githubmirror
/
components
Обзор
Документация
Войти
/
githubmirror
/
components
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/components-examples/material/table/table-generated-columns/table-generated-columns-example.html
15 строк
504 B
Kristiyan Kostadinov
docs: use proper shadow classes in examples (#33494)
06 июл 2026, 11:10
Не верифицирован
06 июл 2026, 11:10
76f5be0
Код
Авторство
О чём код?
<table mat-table [dataSource]="dataSource" class="mat-shadow-2 demo-table"> @for (column of columns; track column) { <ng-container [matColumnDef]="column.columnDef"> <th mat-header-cell *matHeaderCellDef> {{column.header}} </th> <td mat-cell *matCellDef="let row"> {{column.cell(row)}} </td> </ng-container> } <tr mat-header-row *matHeaderRowDef="displayedColumns"></tr> <tr mat-row *matRowDef="let row; columns: displayedColumns;"></tr> </table>