primeng icon indicating copy to clipboard operation
primeng copied to clipboard

Dublicate Records when using datatable under dataScrollable in Angular 2

Open smtgpt62 opened this issue 10 years ago • 1 comments

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>

smtgpt62 avatar Oct 18 '16 09:10 smtgpt62

Why did you close this issue??? Did you find a solution for this?

SampadaBhagat avatar Jul 24 '17 10:07 SampadaBhagat