Skip to content

Commit 0559b73

Browse files
committed
Update table-row-context-example.html (#18674)
Fixed comments for each column.
1 parent 17957ff commit 0559b73

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/components-examples/material/table/table-row-context/table-row-context-example.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<table mat-table [dataSource]="data" class="mat-elevation-z8">
2-
<!-- Index Column -->
2+
<!-- Implicit Column -->
33
<ng-container matColumnDef="$implicit">
44
<th mat-header-cell *matHeaderCellDef> $implicit </th>
55
<td mat-cell *matCellDef="let data"> {{data}} </td>
@@ -11,31 +11,31 @@
1111
<td mat-cell *matCellDef="let index = index"> {{index}} </td>
1212
</ng-container>
1313

14-
<!-- Index Column -->
14+
<!-- Count Column -->
1515
<ng-container matColumnDef="count">
1616
<th mat-header-cell *matHeaderCellDef> count </th>
1717
<td mat-cell *matCellDef="let count = count"> {{count}} </td>
1818
</ng-container>
1919

20-
<!-- Index Column -->
20+
<!-- First Column -->
2121
<ng-container matColumnDef="first">
2222
<th mat-header-cell *matHeaderCellDef> first </th>
2323
<td mat-cell *matCellDef="let first = first"> {{first}} </td>
2424
</ng-container>
2525

26-
<!-- Index Column -->
26+
<!-- Last Column -->
2727
<ng-container matColumnDef="last">
2828
<th mat-header-cell *matHeaderCellDef> last </th>
2929
<td mat-cell *matCellDef="let last = last"> {{last}} </td>
3030
</ng-container>
3131

32-
<!-- Index Column -->
32+
<!-- Even Column -->
3333
<ng-container matColumnDef="even">
3434
<th mat-header-cell *matHeaderCellDef> even </th>
3535
<td mat-cell *matCellDef="let even = even"> {{even}} </td>
3636
</ng-container>
3737

38-
<!-- Index Column -->
38+
<!-- Odd Column -->
3939
<ng-container matColumnDef="odd">
4040
<th mat-header-cell *matHeaderCellDef> odd </th>
4141
<td mat-cell *matCellDef="let odd = odd"> {{odd}} </td>

0 commit comments

Comments
 (0)