p-table incorrect page selected after lazy load

UI Components for Angular
Post Reply
sarahThomas
Posts: 1
Joined: 23 Feb 2021, 14:54

23 Feb 2021, 14:59

I am using the p-table element with sorting, pagination, and lazy loading. When I do the following, the wrong page icon at the bottom is highlighted.

1. Load the page.
2. Go to page 2 using the bottom paginator.
3. Sort the table.

The data for page 2 shows in the grid, so I would expect that "2" would be highlighted in the paginator. However, the number "1" is highlighted. Does anyone know how this can be prevented?

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests