Metakey on datatable
Posted: 11 Aug 2011, 14:31
I've looked lab showcase, and I see datatable could be user with metakey for multiple selection. However, I use PF3M3 and I instantiate a datatable like this :
But I got "old" behaviour : I click a row, then I click another, the first one remains selected. Is there something to adjust to get this behaviour ?
Code: Select all
<p:layoutUnit id="center" position="center">
<h:form style="width: 100%" id="form" prependId="false">
<p:dataTable resizableColumns="true" style="width: 100%" id="user" var="user" value="#{tableBean.user}"
liveScroll="true"
selection="#{tableBean.users}" selectionMode="multiple" >
<p:ajax event="rowSelect" update="seriestable imageSerie" listener="#{tableBean.onRowSelect}"/>