Code: Select all
<p:dataTable var="accountItem" value="#{accountsReceivableItems}" rows="6" paginator="true" dynamic="true" lazy="true"
paginatorTemplate="{RowsPerPageDropdown} {FirstPageLink} {PreviousPageLink} {CurrentPageReport} {NextPageLink} {LastPageLink}"
....
Code: Select all
<p:column filterBy="{accountItem.auditNumberDisplay}" sortBy="{accountItem.auditNumberDisplay}">
<f:facet name="header">
<h:outputText value="Audit Number" />
</f:facet>
<h:outputText value="#{accountItem.auditNumberDisplay}" />
</p:column>
Code: Select all
<p:column filterBy="{accountItem.cashJournalTypeCode}" sortBy="{accountItem.cashJournalTypeCode}" headerText="Cash Jnl" footerText="contains" filterMatchMode="contains">
<h:outputText value="#{accountItem.cashJournalTypeCode}" />
</p:column>
Also the Paginator buttons have the e.g. "First" and "<" labels overlapping each other, the firstPageLinkLabel is deprecated now, apparently replaced by the use of Icons, but the current User Guide is out of date, is there a current example of how to fix the Paginator Button Labels or do we have to wait for the 2.2 User Guide to be released ?
All help and comments appreciated !