tabalinas / jsgrid

Lightweight Grid jQuery Plugin
http://js-grid.com
MIT License
1.53k stars 353 forks source link

Edit English pagerformat without write the whole thing #1392

Open tmbsis opened 3 years ago

tmbsis commented 3 years ago

Hello friend

i want to add "itemCount" in pagerFormat for english, but i cannot find something similar to:

jsGrid.locales["es"].grid.pagerFormat

the only way that i can figure out is (write the whole pagerFormat):

pagerFormat: "Pages: {first} {prev} {pages} {next} {last}    {pageIndex} of {pageCount} , Total: {itemCount}"

theres no option i can use like this?:

pagerFormat: this.pagerFormat + ", Total: {itemCount}"

i found en.js file in your github page, but since en.js is not in the i18n folder, i think is not an official file.

what can i do in this situation