Welcome Guest Search | Active Topics | Sign In | Register

how to change the total pages string in EO.web grid's footer .. Options
grchen168
Posted: Tuesday, March 15, 2022 12:16:32 AM
Rank: Advanced Member
Groups: Member

Joined: 8/26/2021
Posts: 47
Using EO.web grid's paging functionality,
If enable paging, it will show total pages (Ex: "25 Page(s)")in the lower left corner in the footer area.

Question is: how to customize the total pages string??
For example, originally it shows "25 Page(s)", I want to change it to "總共 25 頁".

How to do that?
eo_support
Posted: Tuesday, March 15, 2022 2:28:24 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Hi,

You would customize this message using this property:

https://www.essentialobjects.com/doc/eo.web.grid.pagerlabeltemplate

The default value is

Code:
{var:total_pages} page(s):


You can change it to:

Code:
總共{var:total_pages}頁:


Hope this helps.

Thanks!
grchen168
Posted: Tuesday, March 15, 2022 3:59:57 AM
Rank: Advanced Member
Groups: Member

Joined: 8/26/2021
Posts: 47
Thanks. It work great.
eo_support
Posted: Tuesday, March 15, 2022 4:10:22 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Great! Please feel free to let us know if you have any more questions.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.