V9 - PTable - Paginator doesnot reset when data changes

UI Components for Angular
Post Reply
kk1687
Posts: 11
Joined: 29 May 2018, 14:32

12 Mar 2020, 13:04

Setup : PTable with paginator & resetPageOnSort set to true.

Issue recreation
Step 1. data is updated on search, with results, lets say 100 rows are retrieved.
Having rowCount set to 20, we will have pagelinks upto 5 and on page click the data is properly rendered.

Step 2. Move to any page other than Page#1.

Step 3. Search with a refined criteria
The new results are loaded and data is rendered as it is the first page. But here the issue is the paginator just stays on the old state. Its not updated to page#1.

The issue is reported before in v6 also, even in v9 its there.

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests