Pagesize for all master details
This commit is contained in:
parent
ab0d2e5cf8
commit
c74b4ed377
@ -14,10 +14,10 @@
|
||||
</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;">
|
||||
<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>
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<mat-table [dataSource]="dataSource" *ngIf="!noRecordFound" matSort>
|
||||
|
||||
<ng-container matColumnDef="serialno">
|
||||
@ -69,9 +69,7 @@
|
||||
<mat-row *matRowDef="let row; columns: displayedColumns;">
|
||||
</mat-row>
|
||||
</mat-table>
|
||||
<!--- <mat-paginator #paginator class="mat-elevation-z1" [length]="productList.length" [pageIndex]="pageIndex" [pageSize]="pageSize"
|
||||
[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>
|
||||
|
||||
@ -32,10 +32,8 @@ export class BranchListComponent implements OnInit {
|
||||
color = 'primary';
|
||||
|
||||
// pagination variable details
|
||||
//length = 50;
|
||||
//pageIndex = 0;
|
||||
pageSize = 10;
|
||||
// pageEvent: PageEvent;
|
||||
pageSize = 10;
|
||||
|
||||
// changed(id: number,isactive : number) {
|
||||
// console.log('Id',id);
|
||||
// console.log('Isactive',isactive)
|
||||
|
||||
@ -161,10 +161,10 @@
|
||||
</mat-row>
|
||||
</mat-table>
|
||||
|
||||
<mat-paginator *ngIf="!noRecordFound" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
<mat-paginator *ngIf="!noRecordFound" [pageSize]="pageSize" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<!-- <div *ngIf="noRecordFound" style="color: red; font-size: 16px;">No records found</div> -->
|
||||
<!-- <div *ngIf="noRecordFound" class="nocontent">No records found</div> -->
|
||||
</mat-card-content>
|
||||
|
||||
@ -29,6 +29,8 @@ export class CityListComponent implements OnInit {
|
||||
userData = null;
|
||||
color = 'primary';
|
||||
|
||||
// pagination variable details
|
||||
pageSize = 10;
|
||||
|
||||
public dataLength: number;
|
||||
public dataSource = new MatTableDataSource();
|
||||
|
||||
@ -140,7 +140,7 @@
|
||||
</mat-row>
|
||||
</mat-table>
|
||||
|
||||
<mat-paginator *ngIf="!noRecordFound" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
<mat-paginator *ngIf="!noRecordFound" [pageSize]="pageSize" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
</div>
|
||||
<!-- <div *ngIf="noRecordFound" class="nocontent">No records found</div> -->
|
||||
</mat-card-content>
|
||||
|
||||
@ -30,6 +30,8 @@ export class CommentsOnLocalityListComponent implements OnInit {
|
||||
CommentsOnLocalityList: any = [];
|
||||
userData = null;
|
||||
color = 'primary';
|
||||
// pagination variable details
|
||||
pageSize = 10;
|
||||
|
||||
public dataLength: number;
|
||||
public dataSource = new MatTableDataSource();
|
||||
|
||||
@ -137,7 +137,7 @@
|
||||
</mat-row>
|
||||
</mat-table>
|
||||
|
||||
<mat-paginator [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
<mat-paginator [pageSize]="pageSize" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
</div>
|
||||
<!-- <div *ngIf="noRecordFound" style="color: red; font-size: 16px;">No records found</div> -->
|
||||
<div *ngIf="noRecordFound" class="nocontent">No records found</div>
|
||||
|
||||
@ -38,7 +38,9 @@ export class CompanyListComponent implements OnInit {
|
||||
CompanyList: any = [];
|
||||
userData = null;
|
||||
color = 'primary';
|
||||
|
||||
// pagination variable details
|
||||
pageSize = 10;
|
||||
|
||||
public dataLength: number;
|
||||
public dataSource = new MatTableDataSource();
|
||||
displayedColumns = ['serialno', 'name', 'city_name', 'state_name' , 'actions'];
|
||||
|
||||
@ -140,7 +140,7 @@
|
||||
</mat-row>
|
||||
</mat-table>
|
||||
|
||||
<mat-paginator *ngIf="!noRecordFound" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
<mat-paginator *ngIf="!noRecordFound" [pageSize]="pageSize" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
</div>
|
||||
|
||||
<!-- <div *ngIf="noRecordFound" style="color: red; font-size: 16px;">No records found</div> -->
|
||||
|
||||
@ -30,6 +30,8 @@ export class CustomerBehaviourListComponent implements OnInit {
|
||||
noRecordFound: boolean = false;
|
||||
userData = null;
|
||||
color = 'primary';
|
||||
// pagination variable details
|
||||
pageSize = 10;
|
||||
|
||||
public dataLength: number;
|
||||
public dataSource = new MatTableDataSource();
|
||||
|
||||
@ -137,7 +137,7 @@
|
||||
</mat-row>
|
||||
</mat-table>
|
||||
|
||||
<mat-paginator *ngIf="!noRecordFound" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
<mat-paginator *ngIf="!noRecordFound" [pageSize]="pageSize" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
</div>
|
||||
|
||||
</mat-card-content>
|
||||
|
||||
@ -28,6 +28,9 @@ export class CustomerSegmentListComponent implements OnInit {
|
||||
CustomerSegmentList: any = [];
|
||||
noRecordFound: boolean = false;
|
||||
color = 'primary';
|
||||
// pagination variable details
|
||||
pageSize = 10;
|
||||
|
||||
// displayedColumns = ['customer_segment_id', 'abbr', 'name', 'isactive','actions'];
|
||||
|
||||
userData = null;
|
||||
|
||||
@ -136,7 +136,7 @@
|
||||
</mat-row>
|
||||
</mat-table>
|
||||
|
||||
<mat-paginator *ngIf="!noRecordFound" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
<mat-paginator *ngIf="!noRecordFound" [pageSize]="pageSize" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
</div>
|
||||
|
||||
</mat-card-content>
|
||||
|
||||
@ -29,6 +29,8 @@ export class DesignationListComponent implements OnInit {
|
||||
noRecordFound: boolean = false;
|
||||
DesignationList: any = [];
|
||||
color = 'primary';
|
||||
// pagination variable details
|
||||
pageSize = 10;
|
||||
|
||||
userData = null;
|
||||
|
||||
|
||||
@ -143,7 +143,7 @@
|
||||
</mat-row>
|
||||
</mat-table>
|
||||
|
||||
<mat-paginator *ngIf="!noRecordFound" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
<mat-paginator *ngIf="!noRecordFound" [pageSize]="pageSize" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
</div>
|
||||
<!-- <div *ngIf="noRecordFound" class="nocontent">No records found</div> -->
|
||||
|
||||
|
||||
@ -30,7 +30,9 @@ export class FrequencyListComponent implements OnInit {
|
||||
FrequencyList: any = [];
|
||||
noRecordFound: boolean = false;
|
||||
color = 'primary';
|
||||
|
||||
// pagination variable details
|
||||
pageSize = 10;
|
||||
|
||||
userData = null;
|
||||
|
||||
public dataLength: number;
|
||||
|
||||
@ -73,7 +73,7 @@
|
||||
</mat-row>
|
||||
</mat-table>
|
||||
|
||||
<mat-paginator *ngIf="!noRecordFound" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
<mat-paginator *ngIf="!noRecordFound" [pageSize]="pageSize" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
</div>
|
||||
|
||||
<!-- <div *ngIf="noRecordFound" class="example-container mat-elevation-z8">
|
||||
|
||||
@ -39,6 +39,8 @@ export class IndustryClassificationListComponent implements OnInit {
|
||||
|
||||
userData = null;
|
||||
color = 'primary';
|
||||
// pagination variable details
|
||||
pageSize = 10;
|
||||
|
||||
public dataLength: number;
|
||||
public dataSource = new MatTableDataSource();
|
||||
|
||||
@ -133,7 +133,7 @@
|
||||
</mat-row>
|
||||
</mat-table>
|
||||
|
||||
<mat-paginator *ngIf="!noRecordFound" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
<mat-paginator *ngIf="!noRecordFound" [pageSize]="pageSize" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
</div>
|
||||
|
||||
<!-- <div *ngIf="noRecordFound" class="nocontent">No records found</div> -->
|
||||
|
||||
@ -32,6 +32,9 @@ export class LenderHierarchyListComponent implements OnInit {
|
||||
loader: boolean = false;
|
||||
LenderHierarchyList: any = [];
|
||||
color = 'primary';
|
||||
// pagination variable details
|
||||
pageSize = 10;
|
||||
|
||||
//displayedColumns = ['lender_hierarchy_id', 'lender_hierarchy','isactive','actions'];
|
||||
|
||||
userData = null;
|
||||
|
||||
@ -151,7 +151,7 @@
|
||||
</mat-row>
|
||||
</mat-table>
|
||||
|
||||
<mat-paginator *ngIf="!noRecordFound" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
<mat-paginator *ngIf="!noRecordFound" [pageSize]="pageSize" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
</div>
|
||||
<!-- <div *ngIf="noRecordFound" class="nocontent">No records found</div> -->
|
||||
|
||||
|
||||
@ -31,6 +31,9 @@ export class MembersOccupationListComponent implements OnInit {
|
||||
loader: boolean = false;
|
||||
MemberOccupationList: any = [];
|
||||
color = 'primary';
|
||||
// pagination variable details
|
||||
pageSize = 10;
|
||||
|
||||
userData = null;
|
||||
noRecordFound: boolean = false;
|
||||
|
||||
|
||||
@ -80,7 +80,7 @@
|
||||
<mat-row *matRowDef="let row; columns: displayedColumns;"></mat-row>
|
||||
</mat-table>
|
||||
|
||||
<mat-paginator [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
<mat-paginator [pageSize]="pageSize" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
</div>
|
||||
<div *ngIf="noRecordFound" class="nocontent">No records found</div>
|
||||
|
||||
|
||||
@ -29,6 +29,9 @@ export class PdAllocationTypeListComponent implements OnInit {
|
||||
noRecordFound: boolean = false;
|
||||
dataSourceRecords = null;
|
||||
color = 'primary';
|
||||
// pagination variable details
|
||||
pageSize = 10;
|
||||
|
||||
private notifier: NotifierService;
|
||||
|
||||
public dataLength: number;
|
||||
|
||||
@ -130,7 +130,7 @@
|
||||
</mat-row>
|
||||
</mat-table>
|
||||
|
||||
<mat-paginator *ngIf="!noRecordFound" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
<mat-paginator *ngIf="!noRecordFound" [pageSize]="pageSize" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
</div>
|
||||
|
||||
<!-- <div *ngIf="noRecordFound" class="nocontent">No records found</div> -->
|
||||
|
||||
@ -37,6 +37,9 @@ export class PdLocationApproachListComponent implements OnInit {
|
||||
loader: boolean = false;
|
||||
PdLocationApproachList: any = [];
|
||||
color = 'primary';
|
||||
// pagination variable details
|
||||
pageSize = 10;
|
||||
|
||||
userData = null;
|
||||
noRecordFound: boolean = false;
|
||||
public dataLength: number;
|
||||
|
||||
@ -130,7 +130,7 @@
|
||||
</mat-row>
|
||||
</mat-table>
|
||||
|
||||
<mat-paginator *ngIf="!noRecordFound" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
<mat-paginator *ngIf="!noRecordFound" [pageSize]="pageSize" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
</div>
|
||||
|
||||
<!-- -->
|
||||
|
||||
@ -30,6 +30,9 @@ export class PdTypeListComponent implements OnInit {
|
||||
PDTypeList: any = [];
|
||||
noRecordFound: boolean = false;
|
||||
color = 'primary';
|
||||
// pagination variable details
|
||||
pageSize = 10;
|
||||
|
||||
userData = null;
|
||||
|
||||
public dataLength: number;
|
||||
|
||||
@ -82,7 +82,7 @@
|
||||
</mat-table>
|
||||
|
||||
<!-- <mat-paginator [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator> -->
|
||||
<mat-paginator *ngIf="!noRecordFound" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
<mat-paginator *ngIf="!noRecordFound" [pageSize]="pageSize" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
</div>
|
||||
<!-- <div *ngIf="noRecordFound" class="nocontent">No records found</div> -->
|
||||
|
||||
|
||||
@ -31,6 +31,8 @@ export class ProductListComponent implements OnInit {
|
||||
noRecordFound: boolean = false;
|
||||
userData = null;
|
||||
color = 'primary';
|
||||
// pagination variable details
|
||||
pageSize = 10;
|
||||
|
||||
public dataLength: number;
|
||||
public dataSource = new MatTableDataSource();
|
||||
|
||||
@ -74,7 +74,7 @@
|
||||
</mat-table>
|
||||
|
||||
<!-- <mat-paginator [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator> -->
|
||||
<mat-paginator *ngIf="!noRecordFound" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
<mat-paginator *ngIf="!noRecordFound" [pageSize]="pageSize" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
</div>
|
||||
<div *ngIf="noRecordFound" class="nocontent">No records found</div>
|
||||
|
||||
|
||||
@ -29,6 +29,8 @@ export class QuestionCategoryListComponent implements OnInit {
|
||||
noRecordFound: boolean = false;
|
||||
userData = null;
|
||||
color = 'primary';
|
||||
// pagination variable details
|
||||
pageSize = 10;
|
||||
|
||||
public dataLength: number;
|
||||
public dataSource = new MatTableDataSource();
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
<button mat-fab class="mr-1 mb-1" style="margin-top: 7px;" [color]="color" (click)="addregions()" matTooltip="Add Region" matTooltipPosition="above"><mat-icon>add</mat-icon></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<mat-table *ngIf="!noRecordFound" [dataSource]="dataSource" matSort >
|
||||
|
||||
@ -58,6 +58,7 @@
|
||||
<mat-row *matRowDef="let row; columns: displayedColumns;">
|
||||
</mat-row>
|
||||
</mat-table>
|
||||
|
||||
<mat-paginator *ngIf="!noRecordFound" [pageSize]="pageSize" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
</div>
|
||||
</mat-card-content>
|
||||
<notifier-container></notifier-container>
|
||||
@ -32,6 +32,8 @@ export class RegionsListComponent implements OnInit {
|
||||
noRecordFound: boolean = false;
|
||||
color = 'primary';
|
||||
userData = null;
|
||||
// pagination variable details
|
||||
pageSize = 10;
|
||||
|
||||
public dataLength: number;
|
||||
public dataSource = new MatTableDataSource();
|
||||
|
||||
@ -153,7 +153,7 @@
|
||||
</mat-row>
|
||||
</mat-table>
|
||||
|
||||
<mat-paginator *ngIf="!noRecordFound" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
<mat-paginator *ngIf="!noRecordFound" [pageSize]="pageSize" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
</div>
|
||||
|
||||
<!-- <div *ngIf="noRecordFound" class="nocontent">No records found</div> -->
|
||||
|
||||
@ -29,6 +29,9 @@ export class RelationShipListComponent implements OnInit {
|
||||
RelationShipList: any = [];
|
||||
noRecordFound: boolean = false;
|
||||
color = 'primary';
|
||||
// pagination variable details
|
||||
pageSize = 10;
|
||||
|
||||
//displayedColumns = ['relationship_id','name','createdon','fk_createdby','updatedon','isactive','fk_updatedby','actions'];
|
||||
//relationship_id, name, createdon, fk_createdby, updatedon, fk_updatedby, isactive
|
||||
|
||||
|
||||
@ -176,7 +176,7 @@
|
||||
</mat-row>
|
||||
</mat-table>
|
||||
|
||||
<mat-paginator *ngIf="!noRecordFound" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
<mat-paginator *ngIf="!noRecordFound" [pageSize]="pageSize" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
@ -29,6 +29,9 @@ export class StatesListComponent implements OnInit {
|
||||
loader: boolean = false;
|
||||
StateList: any = [];
|
||||
color = 'primary';
|
||||
// pagination variable details
|
||||
pageSize = 10;
|
||||
|
||||
noRecordFound: boolean = false;
|
||||
|
||||
//displayedColumns = ['states_id', 'fk_city_id', 'name', 'createdon', 'fk_createdby', 'updatedon', 'fk_updatedby', 'isactive','actions'];
|
||||
|
||||
@ -165,7 +165,7 @@
|
||||
</mat-row>
|
||||
</mat-table>
|
||||
|
||||
<mat-paginator *ngIf="!noRecordFound" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
<mat-paginator *ngIf="!noRecordFound" [pageSize]="pageSize" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
</div>
|
||||
|
||||
<!-- <div *ngIf="noRecordFound" class="nocontent">No records found</div> -->
|
||||
|
||||
@ -33,6 +33,8 @@ export class SubProductListComponent implements OnInit {
|
||||
|
||||
userData = null;
|
||||
noRecordFound: boolean = false;
|
||||
// pagination variable details
|
||||
pageSize = 10;
|
||||
|
||||
public dataLength: number;
|
||||
public dataSource = new MatTableDataSource();
|
||||
|
||||
@ -149,7 +149,7 @@
|
||||
</mat-row>
|
||||
</mat-table>
|
||||
|
||||
<mat-paginator *ngIf="!noRecordFound" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
<mat-paginator *ngIf="!noRecordFound" [pageSize]="pageSize" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
</div>
|
||||
|
||||
<!-- <div *ngIf="noRecordFound" class="nocontent">No records found</div> -->
|
||||
|
||||
@ -26,7 +26,10 @@ export class TitleListComponent implements OnInit {
|
||||
loader: boolean = false;
|
||||
TitleList: any = [];
|
||||
noRecordFound: boolean = false;
|
||||
color = 'primary';
|
||||
color = 'primary';
|
||||
// pagination variable details
|
||||
pageSize = 10;
|
||||
|
||||
//displayedColumns = ['title_id','name','createdon','fk_createdby','updatedon','isactive','fk_updatedby','actions'];
|
||||
|
||||
//title_id, name, createdon, fk_createdby, updatedon, fk_updatedby, isactive
|
||||
|
||||
@ -143,7 +143,7 @@
|
||||
</mat-row>
|
||||
</mat-table>
|
||||
|
||||
<mat-paginator *ngIf="!noRecordFound" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
<mat-paginator *ngIf="!noRecordFound" [pageSize]="pageSize" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
@ -33,6 +33,9 @@ export class ActivityListComponent implements OnInit {
|
||||
userData = null;
|
||||
noRecordFound: boolean = false;
|
||||
color = 'primary';
|
||||
// pagination variable details
|
||||
pageSize = 10;
|
||||
|
||||
public dataLength: number;
|
||||
public dataSource = new MatTableDataSource();
|
||||
displayedColumns = ['serialno','name','actions', 'isactive'];
|
||||
|
||||
@ -70,7 +70,7 @@
|
||||
</mat-row>
|
||||
</mat-table>
|
||||
|
||||
<mat-paginator *ngIf="!noRecordFound" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
<mat-paginator *ngIf="!noRecordFound" [pageSize]="pageSize" [pageSizeOptions]="[5, 10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
||||
</div>
|
||||
|
||||
<!-- <div *ngIf="noRecordFound" class="nocontent">No records found</div> -->
|
||||
|
||||
@ -33,6 +33,9 @@ export class UomListComponent implements OnInit {
|
||||
loader: boolean = false;
|
||||
UOMList: any = [];
|
||||
color = 'primary';
|
||||
// pagination variable details
|
||||
pageSize = 10;
|
||||
|
||||
//displayedColumns = ['uom_id','name','createdon','fk_createdby','updatedon','isactive','fk_updatedby','actions'];
|
||||
//uom_id, name, createdon, fk_createdby, updatedon, fk_updatedby, isactive
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user