primeng
primeng copied to clipboard
Dublicate Records when using datatable under dataScrollable in Angular 2
I am trying to print dataTable inside template of dataScrollable property of primeng. It is printing dublicate records alongwith table headers even if records are over in json file and it is printing dublicate records while scrolling down the page. Code is:
<p-dataScroller [value]="certificates" [rows]="10" [buffer]="0.4">
<template>
<p-dataTable [value]="certificates" >
<p-column field="lock" header="Lock" ></p-column>
<p-column field="rush" header="Rush" [sortable]="true"></p-column>
<p-column field="escType" header="escType" [sortable]="true"></p-column>
<p-column field="bd" header="bd" [sortable]="true"></p-column>
<p-column field="lnAmt" header="lnAmt" [sortable]="true"></p-column>
<p-column field="certNumber" header="certNumber" [sortable]="true"></p-column>
</p-dataTable>
Why did you close this issue??? Did you find a solution for this?