report viewr pagination
This commit is contained in:
parent
1724b5cf52
commit
9aaa243277
|
|
@ -165,8 +165,8 @@
|
|||
<div class="grid">
|
||||
<div class="col-12">
|
||||
<kendo-grid [data]="gridView" (pageChange)="onDataChange($event)" [pageSize]="pageSize"
|
||||
[pageable]="true" scrollable="virtual" [skip]="skip" [rowHeight]="36"
|
||||
[(selectedKeys)]="selectedEmpInaPage" style="height: 180px;"
|
||||
scrollable="virtual" [skip]="skip" [rowHeight]="36"
|
||||
[(selectedKeys)]="selectedEmpInaPage" style="height: 240px;"
|
||||
(selectedKeysChange)="onSelectedKeysChange($event)" [selectable]="selectableSettings"
|
||||
[kendoGridSelectBy]="'employeeID'">
|
||||
<!--<kendo-grid-checkbox-column [width]="25" [headerClass]="{'text-center': true}"
|
||||
|
|
|
|||
|
|
@ -2415,6 +2415,9 @@ export class ReportViewerComponent implements OnInit {
|
|||
|
||||
this.taggedSelection = [];
|
||||
this.searchEmployees = [];
|
||||
// Emptying the grid (total 0) makes its virtual scroller restart from the top for the new result.
|
||||
this.skip = 0;
|
||||
this.loadData();
|
||||
this.employeeService.getSearchEmployee(srcManager)
|
||||
.subscribe(
|
||||
(resp: any) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user