You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When combining the rowSelection formatter with selectableRows the UI is really un-intuitive and works exactly opposite as when rowSelection is disabled.
In the first table select rows 1-4 by using shift-click
Then try to unselect row 2 by clicking on the checkbox
I would expect: Row 2 unselected, row 1,3,4 stay selected. Instead it selects only row 2 and deselects all others.
I know I can use CMD to flip the behaviour of the click, but that's only intuitive (and correct) on the row selection, but not when clicking on the tickbox.
Expected behavior
Clicks on tickbox should always work the same, no matter if row selection is enabled or not. A click on a checked checkbox should uncheck it. A click on an unchecked checkbox should check it.
I think the rowheaders should be excluded from toggling selection. Maybe at all, maybe only if the tickbox formatter is used.
Screenshots
Desktop (please complete the following information):
OS: Mac
Browser Chrome
Thx!
The text was updated successfully, but these errors were encountered:
Describe the bug
When combining the rowSelection formatter with selectableRows the UI is really un-intuitive and works exactly opposite as when rowSelection is disabled.
Tabulator Info
6.2
Working Example
https://jsfiddle.net/baumrock/y7f8ok4t/24/
To Reproduce
I would expect: Row 2 unselected, row 1,3,4 stay selected. Instead it selects only row 2 and deselects all others.
I know I can use CMD to flip the behaviour of the click, but that's only intuitive (and correct) on the row selection, but not when clicking on the tickbox.
Expected behavior
Clicks on tickbox should always work the same, no matter if row selection is enabled or not. A click on a checked checkbox should uncheck it. A click on an unchecked checkbox should check it.
I think the rowheaders should be excluded from toggling selection. Maybe at all, maybe only if the tickbox formatter is used.
Screenshots
![Recording 2024-05-14 at 23 44 32](https://private-user-images.githubusercontent.com/8488586/330604308-0777beea-8835-4d26-81eb-102a7733a991.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1Nzg5MjcsIm5iZiI6MTcyNTU3ODYyNywicGF0aCI6Ii84NDg4NTg2LzMzMDYwNDMwOC0wNzc3YmVlYS04ODM1LTRkMjYtODFlYi0xMDJhNzczM2E5OTEuZ2lmP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkwNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MDVUMjMyMzQ3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YzE3NGFlN2QzMDM3ODc0YTUzODgzYWI4NjQ4MTFjM2RhOTFhMjliNWY3Nzc4ZmYxMzMyMDM1OWVmMmMyMGMxNSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.y8jLzyRmLFS64xbhgd2OGV5qTG1vC3SSYJF_K88zAbM)
Desktop (please complete the following information):
Thx!
The text was updated successfully, but these errors were encountered: