create a table that is being updated with new rows
setup pagination with {'showAll': 'All'} and with the number of rows shown equal to the rows variable
render the table in the GUI, wait for an update, then change the rows to 'All' using the dropdown menu in the gui
ERROR: the behavior expected is that all the rows are shown and the numbers in the paginator make sense. the numbers don't make sense, and there are additional pages shown as an option to click on.
workaround: clicking the number 1 in the paginator will show all the rows as expected
Expected behavior
updating the length of a table's value array should update the paginator as expected when the number of rows is set to 'all'
Describe the bug
Changing the pagination dropdown to 'All' does not have the desired effect when the entries in the table are growing
Environment
linux browser. reproduced in stackblitz though, so all environment information should be there as well
Reproducer
https://stackblitz.com/edit/primeng-tablepage-demo-z2hxr4?file=src/app/app.component.ts
Angular version
15.1.0
PrimeNG version
15.0.1
Build / Runtime
TypeScript
Language
TypeScript
Node version (for AoT issues node --version)
v18.12.0
Browser(s)
chromium
Steps to reproduce the behavior
Steps:
rows
variablerows
to 'All' using the dropdown menu in the guiExpected behavior
updating the length of a table's value array should update the paginator as expected when the number of rows is set to 'all'