You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current behavior
It is not possible to provide/change CurrentPageReport template which is currently hardcoded as '({currentPage} of {totalPages})'. This enhancement is needed for two cases: 1) when a different presentation way of current page report is needed, 2) when a site is multilingual and a word 'of' has to be translated.
Expected behavior
It should be possible to provide/change template by providing a new currentPageReportTemplate property to Paginator component like this:
<Paginator ... currentPageReportTemplate='({currentPage} of {totalPages})'>
The text was updated successfully, but these errors were encountered:
superhp
added a commit
to superhp/primereact
that referenced
this issue
Nov 9, 2018
I'm submitting an ...
for Paginator component https://www.primefaces.org/primereact/#/paginator
Current behavior
It is not possible to provide/change CurrentPageReport template which is currently hardcoded as '({currentPage} of {totalPages})'. This enhancement is needed for two cases: 1) when a different presentation way of current page report is needed, 2) when a site is multilingual and a word 'of' has to be translated.
Expected behavior
It should be possible to provide/change template by providing a new currentPageReportTemplate property to Paginator component like this:
<Paginator ... currentPageReportTemplate='({currentPage} of {totalPages})'>
The text was updated successfully, but these errors were encountered: