0
How to make pagination appear only when you have more than one page, using the Datatable
of Primefaces
in the JSF
?
0
How to make pagination appear only when you have more than one page, using the Datatable
of Primefaces
in the JSF
?
1
Following the documentation of Primefaces 6.1, you can use the attribute paginatorAlwaysVisible
to hide if the table does not display the number of records required for paging:
Here is a translation of the documentation:
Estate: paginatorAlwaysVisible
Default value: true
Defines whether the pagination component must be hidden if the total records is less than the amount of records per page
Therefore in his datatable
use the attribute paginatorAlwaysVisible="false"
Browser other questions tagged jsf primefaces paging
You are not signed in. Login or sign up in order to post.
You are using pure JSF or some framework (Primefaces, Richfaces, Icefaces...)?
– nullptr
I edited the question and added the first faces there
– Marciano Machado
Which version are you using?
– nullptr