Added sticky header to the e-commerce tables

This commit is contained in:
Sercan Yemen 2018-06-20 16:36:31 +03:00
parent 94d20f8d8d
commit 6320e98938
2 changed files with 2 additions and 2 deletions

View File

@ -112,7 +112,7 @@
</mat-cell>
</ng-container>
<mat-header-row *matHeaderRowDef="displayedColumns"></mat-header-row>
<mat-header-row *matHeaderRowDef="displayedColumns; sticky:true"></mat-header-row>
<mat-row *matRowDef="let order; columns: displayedColumns;"
class="order"

View File

@ -125,7 +125,7 @@
</mat-cell>
</ng-container>
<mat-header-row *matHeaderRowDef="displayedColumns"></mat-header-row>
<mat-header-row *matHeaderRowDef="displayedColumns; sticky:true"></mat-header-row>
<mat-row *matRowDef="let product; columns: displayedColumns;"
class="product"