row selection in dataTable #3619
-
We use dataTable with checkboxes. What do I have to do to be able to select and deselect lines with both the mouse and the keyboard? If I use the default selectionRowMode, I can select and deselect the rows with the mouse, but no longer with the keyboard. If I use none as selectionRowMode, it's flipped. I can select and deselect the lines with the space key, but no longer with the mouse. It is also interesting that in the selectionRowMode default I can use the keyboard in the first line to focus not only on the select box, but also on the entire line. If the entire line has focus, I can also select the row with space, but I can no longer deselect it and I can't focus on any other lines with the keyboard, only the respective select box. But the checkboxes doesn't respond to the space button. Thank you for your help |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 19 replies
-
I am not sure what you mean it works fine for me here with keyboard and mouse? https://quarkus-faces-melloware-8a6a34c1.koyeb.app/ui/data/datatable/selection.xhtml Go to the last example "Checkbox". I can select and deselect with SPACE or mouse clicks... |
Beta Was this translation helpful? Give feedback.
Fixed for 15.0.1: primefaces/primefaces#13408