Table: Multiple selection with SHIFT/click does not work together with paginator and lazy loading #14140
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
We have problems with the multi select via SHIFT/click in tables.
The problem occurs when you have set a paginator and then try a multi select on the second page (it works perfectly on the first).
All rows up to the end, starting with the anchor row, are selected.
The demo table on PrimeNg works, but ours does not.
The difference is the lazy load, which is not combined in the demo table.
I added this to Stackblick and indeed the multi select no longer works properly.
Environment
The example environment
Reproducer
https://stackblitz.com/edit/mkvney-7dpojm?file=src%2Fapp%2Fdemo%2Ftable-multiple-selection-demo.ts
Angular version
16
PrimeNG version
16.3.1 and higher / The example environment
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
The example environment
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
Should be clear ;)
The text was updated successfully, but these errors were encountered: