I a problem for pagination in the datatable which contains p: columns!
I use primefaces 5.1 and apache tomcat 7
Code: Select all
<h:form id="data">
<h:commandButton value="Fermer"
action="#{tableBean.fermer()}">
<f:ajax execute="@this" render="@this" immediate="true"></f:ajax>
</h:commandButton>
<p:dataTable var="values" value="#{tableBean.dynamicList3}"
id="deTailTable" rowIndexVar="ligne" paginatorTemplate="{CurrentPageReport} {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}"
rowsPerPageTemplate="5,10,15,25,50">
<p:columns value="#{tableBean.systemLists7}" var="column"
columnIndexVar="colIndex">
<f:facet name="header">
<p:outputPanel>
#{column}
</p:outputPanel>
</f:facet>
<h:outputText value="#{values.value[colIndex]}" />
</p:columns>
</p:column>
</p:dataTable>
</h:form>
thank you for your help !