Do not unselect rows when clicking on another rows in Primefaces datatable
问题 I'm working with Primefaces 3.5 Data Table. The table is with multiselection mode enabled. Basically, the table is the same as the last one from [this showcase][1]. So the table is defined like this <p:dataTable id="myTable" var="item" value="#{myController.items}" selection="#{myController.selectedItems}" rowKey="#{item.id}"> <p:column selectionMode="multiple"/> <p:column headerText="Id"> ... So when the user selects some rows by clicking on checkboxes and then accidentally clicks on one row