size in branch list
This commit is contained in:
parent
f82dd664e7
commit
ab0d2e5cf8
@ -14,7 +14,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div *ngIf="noRecordFound" class="nocontent ml-xs mr-xs" style="width: 90%;">No records found</div>
|
<div *ngIf="noRecordFound" class="nocontent ml-xs mr-xs" style="width: 90%;">No records found</div>
|
||||||
<div class="ml-xs mr-xs" style="width: 10%; text-align: right;">
|
<div class="ml-xs mr-xs" style="width: 10%; text-align: right;">
|
||||||
<button mat-fab class="mr-1 mb-1" style="margin-top: 7px;" [color]="color" (click)="addBranch()" matTooltip="Add Branch" matTooltipPosition="above"><mat-icon>add</mat-icon></button>
|
<button mat-fab class="mr-1 mb-1 secondary" style="margin-top: 7px;" (click)="addBranch()" matTooltip="Add Branch" matTooltipPosition="above"><mat-icon>add</mat-icon></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -69,8 +69,10 @@
|
|||||||
<mat-row *matRowDef="let row; columns: displayedColumns;">
|
<mat-row *matRowDef="let row; columns: displayedColumns;">
|
||||||
</mat-row>
|
</mat-row>
|
||||||
</mat-table>
|
</mat-table>
|
||||||
|
<!--- <mat-paginator #paginator class="mat-elevation-z1" [length]="productList.length" [pageIndex]="pageIndex" [pageSize]="pageSize"
|
||||||
<mat-paginator *ngIf="!noRecordFound" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
[pageSizeOptions]="[5, 10, 25, 100]" (page)="pageEvent = $event; pageChange($event)">
|
||||||
|
</mat-paginator>-->
|
||||||
|
<mat-paginator *ngIf="!noRecordFound" [pageSize]="pageSize" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@ -31,6 +31,11 @@ export class BranchListComponent implements OnInit {
|
|||||||
userdata2:any = [];
|
userdata2:any = [];
|
||||||
color = 'primary';
|
color = 'primary';
|
||||||
|
|
||||||
|
// pagination variable details
|
||||||
|
//length = 50;
|
||||||
|
//pageIndex = 0;
|
||||||
|
pageSize = 10;
|
||||||
|
// pageEvent: PageEvent;
|
||||||
// changed(id: number,isactive : number) {
|
// changed(id: number,isactive : number) {
|
||||||
// console.log('Id',id);
|
// console.log('Id',id);
|
||||||
// console.log('Isactive',isactive)
|
// console.log('Isactive',isactive)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user