I'm using <p:dataTable> of PrimeFaces 3.3.1 with pagination. The pagination buttons appear in both the table header and footer. I would like to hide the pagination buttons in the table header and keep the ones in the table footer. How can I achieve this?
According to the PrimeFaces Users Guide and the <p:dataTable> VDL Documentation, there's a paginatorPosition attribute which can take a value of both (default), top or bottom.
So just set paginatorPosition attribute to bottom.
<p:dataTable ... paginatorPosition="bottom">
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With