Desc1 in LayerRecords

This commit is contained in:
Michał Zieliński
2023-08-23 20:58:53 +02:00
parent be8e156ca3
commit 92e00c84d6
2 changed files with 7 additions and 1 deletions

View File

@@ -47,6 +47,12 @@
<td mat-footer-cell *matFooterCellDef><b>{{valueSum | number:'1.2-2'}}</b></td>
</ng-container>
<ng-container matColumnDef="desc1">
<th mat-header-cell *matHeaderCellDef mat-sort-header>Description1</th>
<td mat-cell *matCellDef="let row"> {{row.desc1}} </td>
<td mat-footer-cell *matFooterCellDef></td>
</ng-container>
<tr mat-header-row *matHeaderRowDef="displayedColumns, sticky: true"></tr>
<tr mat-row *matRowDef="let row; columns: displayedColumns;"></tr>
<tr mat-footer-row *matFooterRowDef="displayedColumns"></tr>

View File

@@ -15,7 +15,7 @@ export const environment = {
},
views: {
layers: {
recordColumns: "code|value1"
recordColumns: "code|value1|desc1"
}
}
};