Question List UI
This commit is contained in:
parent
8a52cce60d
commit
4d4bed232b
@ -25,7 +25,8 @@
|
||||
</div>
|
||||
<!--</mat-card-content>-->
|
||||
<mat-card-content>
|
||||
<mat-table [dataSource]="dataSource" matSort *ngIf="productList.length > 0" >
|
||||
<ng-container *ngIf="productList.length > 0">
|
||||
<mat-table [dataSource]="dataSource">
|
||||
|
||||
<ng-container matColumnDef="category_name">
|
||||
<mat-cell fxFlex="25%" class="cell" *matCellDef="let product;" style="width:20% !important;">
|
||||
@ -45,11 +46,12 @@
|
||||
<mat-row style="align-items: normal !important;" *matRowDef="let row; columns: displayedColumns;">
|
||||
</mat-row>
|
||||
</mat-table>
|
||||
|
||||
|
||||
<mat-paginator #paginator class="mat-elevation-z1" [length]="productList.length" [pageIndex]="pageIndex" [pageSize]="pageSize"
|
||||
</ng-container>
|
||||
<div *ngIf="productList.length > 0">
|
||||
<mat-paginator [length]="productList.length" [pageIndex]="pageIndex" [pageSize]="pageSize"
|
||||
[pageSizeOptions]="[5, 10, 25, 50, 100]" (page)="pageEvent = $event; pageChange($event)" showFirstLastButtons>
|
||||
</mat-paginator>
|
||||
</div>
|
||||
|
||||
|
||||
<!---- <ng-container *ngIf="productList.length > 0">
|
||||
@ -79,7 +81,9 @@
|
||||
</div>
|
||||
</ng-container>-->
|
||||
<mat-card *ngIf="noQuesMasterRecrdFound">
|
||||
<div class="no-record-found">No Record Found ... </div>
|
||||
<mat-card-content>
|
||||
<div class="no-record-found">No Record Found ... </div>
|
||||
</mat-card-content>
|
||||
</mat-card>
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user