Hide pagination buttons in table header of p:dataTable

Viewed 32861

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?

2 Answers

Alternative for hidding all datatable paginators on headers:

.ui-paginator-top{
    display:none;
}
Related