primeng icon indicating copy to clipboard operation
primeng copied to clipboard

Datatable top and bottom number of links out of sync

Open rklempert opened this issue 10 years ago • 4 comments

Posted this under issue #671. Since it is marked closed, maybe you are not looking at comments for closed issues.

I am using [lazy]="true" and "both." Showing 10 links and on the first page of results and increasing rows from 10 to 100, changes to fewer number of links only in the paginator in which the dropdown was changed. If selecting rows from 10 to 100 on a page other than first, like 2nd or 3rd page of results, everything works. The reset of links doesn't happen for first page.

rklempert avatar Nov 28 '16 15:11 rklempert

Create a plunkr please;

http://plnkr.co/edit/NtWWnN

cagataycivici avatar Nov 29 '16 19:11 cagataycivici

I’m not sure I can do that, too much code to move over into Plunkr. Can I do a screen recording or Skype share or any other way?

Thanks, Robert Klempert | bswift 10 S. Riverside Plaza, Suite 1100 Chicago, IL 60606 312.373.3483 (direct) 877.9.BSWIFT (toll free) [email protected]mailto:[email protected] www.bswift.comhttp://www.bswift.com/

From: Çağatay Çivici [mailto:[email protected]] Sent: Tuesday, November 29, 2016 1:38 PM To: primefaces/primeng Cc: Klempert, Robert; Author Subject: Re: [primefaces/primeng] Datatable top and bottom number of links out of sync (#1441)

Create a plunkr please;

http://plnkr.co/edit/NtWWnNhttps://urldefense.proofpoint.com/v2/url?u=http-3A__plnkr.co_edit_NtWWnN&d=DQMCaQ&c=wluqKIiwffOpZ6k5sqMWMBOn0vyYnlulRJmmvOXCFpM&r=bzGpD7_sg93p0rwSWCuMnFL4FWNKB0SGFY2Vw60WB6c&m=8_9hmD3vrtFf3tgvYVTjDtAJyvOGe_We6_KQMuhzhCg&s=rCYyfOm_1SKR_6dOkwkEKyqUgm-aiVohSmkiv6ie7Vs&e=

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_primefaces_primeng_issues_1441-23issuecomment-2D263675413&d=DQMCaQ&c=wluqKIiwffOpZ6k5sqMWMBOn0vyYnlulRJmmvOXCFpM&r=bzGpD7_sg93p0rwSWCuMnFL4FWNKB0SGFY2Vw60WB6c&m=8_9hmD3vrtFf3tgvYVTjDtAJyvOGe_We6_KQMuhzhCg&s=EyIYqXjt__viP9iLrKlo6aqhzPFVLumx9Hi5OVnoFY8&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AWUXpn8tzGktrFWFGU5yDUlrebodMtoaks5rDH8zgaJpZM4K97X1&d=DQMCaQ&c=wluqKIiwffOpZ6k5sqMWMBOn0vyYnlulRJmmvOXCFpM&r=bzGpD7_sg93p0rwSWCuMnFL4FWNKB0SGFY2Vw60WB6c&m=8_9hmD3vrtFf3tgvYVTjDtAJyvOGe_We6_KQMuhzhCg&s=7boSXFq37lloaru8UR_6F512DUhcB1uNfTtE364H7DI&e=.

This e-mail may contain confidential or privileged information. If you think you have received this e-mail in error, please advise the sender by reply e-mail and then delete this e-mail immediately. Thank you.

rklempert avatar Dec 01 '16 15:12 rklempert

I've observed the same behavior. I've created a simple project using angular-cli that illustrates this issue. I'll see if I can move it over to plunker.

I've updated the plunker at http://plnkr.co/edit/0oSUHv?p=preview Once you run, change the page size to 10. Then change the page size to 100. Each time the top paginator will be updated while the bottom one won't.

Change the page size back to 10. Again, the top will be correct and the bottom will be wrong. Now click on the next error. The top and bottom will now both be correct.

padryn avatar Mar 01 '17 17:03 padryn

This should be fixed in recent PrimeNG release, please try with it and if the issue persists drop a comment with along with a test case based on plunkr below and we'll review again.

http://plnkr.co/edit/MxSw4qOuwDfq7rLO7jrR?p=preview

cagataycivici avatar Jun 17 '17 19:06 cagataycivici