We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If i set the virtualScrollerOption property of the datatable together with a row checkbox selection this error occurs as soon as i select a row:
TypeError: selectableVal.every is not a function
If i only add the checkbox selection without the virtualScrollerOption or the other way around this error does not occur.
This error only started to occur when I upgraded to version 8.x. In Version 7.2 it worked fine.
https://codesandbox.io/s/jovial-wood-h8916t?file=/src/demo/DataTableVirtualScrollDemo.js
8.x
17.x
ALL
Create React App (CRA)
No response
The checkbox selection of multiple rows should also be possible if virtual scrolling is active.
The text was updated successfully, but these errors were encountered:
Definitely agree its not working but not sure if these two features of the datatable were designed to work together.
Sorry, something went wrong.
208afd3
@melloware For such issues, users can use selectAll and onSelectAllChange properties. Similar to https://www.primefaces.org/primereact/multiselect/ (VirtualScroller demo)
mertsincan
No branches or pull requests
Describe the bug
If i set the virtualScrollerOption property of the datatable together with a row checkbox selection this error occurs as soon as i select a row:
TypeError: selectableVal.every is not a function
If i only add the checkbox selection without the virtualScrollerOption or the other way around this error does not occur.
This error only started to occur when I upgraded to version 8.x. In Version 7.2 it worked fine.
Reproducer
https://codesandbox.io/s/jovial-wood-h8916t?file=/src/demo/DataTableVirtualScrollDemo.js
PrimeReact version
8.x
React version
17.x
Language
ALL
Build / Runtime
Create React App (CRA)
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
The checkbox selection of multiple rows should also be possible if virtual scrolling is active.
The text was updated successfully, but these errors were encountered: