Hi all,
When using attribute "selectionMode=multiple" in datatable, I got a problem. I didn't use it along with attribute "selection" for the action listener, and it caused error. When navigating to another page, datatable's contents weren't reloaded. For example, I click in page 2, the paginator seems to be in state of page 2 but the rows are still the same as in page 1. If I remove attribute "selectionMode=multiple", pagination is ok again.
What I want is just to select multi-rows and click another command button for performing action (such as delete, mass edit etc. ...). Could you give me an advice on this ? My Primefaces' version is 2.2.1.
Thanks.
Multiple row selection issue
-
- Posts: 6144
- Joined: 10 Sep 2011, 21:10
Copy/paste your xhtml/facelet and bean logic, please. please use the Code button above the Post A Reply editor to embed your code, which places your code in an iframe with scroll bar.
Howard
PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome
Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache
PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome
Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache
-
- Information
-
Who is online
Users browsing this forum: No registered users and 50 guests