Skip to content
New issue

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

Selection eligibility not working with header checkbox #4444

Open
atorres16 opened this issue Mar 24, 2024 · 0 comments
Open

Selection eligibility not working with header checkbox #4444

atorres16 opened this issue Mar 24, 2024 · 0 comments
Labels
Possible Bug A possible bug that needs investigation

Comments

@atorres16
Copy link

Describe the bug
Header checkbox ignoring selection eligibility condition

Tabulator Info

  • 6.0.1

Working Example
https://jsfiddle.net/bugdqctv/1/

To Reproduce
Click the header checkbox, you'll see all rows being selected regardless of the elegibility condition:

selectableRowsCheck:function(row){
          return row.getData().age > 18; //allow selection of rows where the age is greater than 18
      }

Expected behavior
Some rows should not be selectable

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser Chrome, Edge
@atorres16 atorres16 added the Possible Bug A possible bug that needs investigation label Mar 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Possible Bug A possible bug that needs investigation
Projects
None yet
Development

No branches or pull requests

1 participant