Paginator
-
- Posts: 1
- Joined: 07 Nov 2018, 08:58
On currentPageReport template, would it be possible to have localisation or change the text inside of it, because now it is '({currentPage} of {totalPages})'?
You can change the location by reordering template text. For example;
these have different result.
Not yet, you can't change the text but we will discuss this issue.
Code: Select all
template="FirstPageLink PrevPageLink CurrentPageReport NextPageLink LastPageLink"
Code: Select all
template="FirstPageLink PrevPageLink NextPageLink LastPageLink CurrentPageReport"
these have different result.
Not yet, you can't change the text but we will discuss this issue.
It would be really nice if CurrectPageReport could be editable. Mainly, for multi language support. The change is not complicated, we need a new property for Paginator component. I have registered an enhancement request https://github.com/primefaces/primereact/issues/636 and commited a pull request https://github.com/primefaces/primereact/pull/637 for that change a few days ago.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 7 guests