Behavior of <p-table> rows behavior changed from v6 to v8

UI Components for Angular
Post Reply
kzaemgenex
Posts: 1
Joined: 02 Jul 2018, 17:50

14 Feb 2020, 20:44

Hi all, encountered an issue after upgrading versions from 6~ to 8.1.4.

I use a <p-table> with lazyLoad enabled to retrieve and display data. I used to use the rows input binding to control the number of rows shown.

However in 8, this no longer works.

Stackblitz example:

Prime 8: https://stackblitz.com/edit/lazy-load-r ... mponent.ts
Prime 6 (desired behavior): https://stackblitz.com/edit/lazy-load-r ... mponent.ts

Version 8 now shows all rows regardless of the rows input being 1. Version 6 shows just the one row.

Was this an intentional change and if so is there a way I can work around it?

Thanks.

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: glivolsi and 1 guest