In my project, I use datatable with <p:column selectionMode="multiple" />
so that the entries can be multiple selected using the checkboxes.
However, when the user click on a row, all previous selection is unselected and only that row is selected. This behaviour is unexpected and annoying. I would like to disable the behaviour of rowSelect and rowUnselect on row clicking, but seems I had no way to do but hacking the source of datatable.js.
Does anyone implement this before? Thanks for answering.
Using:
primefaces 3.5
mojarra 2.1.6
glassfish 3.1.2.2