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

UI Components for Angular
Post Reply
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: ... mponent.ts
Prime 6 (desired behavior): ... 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?


Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests