The jqGrid write counter has a space before the thousandth digit

When the number of records in jqGrid exceeds 1000, there is visible space between hundreds and thousands of digits. See image below (taken from jqGrid demo page)

alt text http://img180.imageshack.us/img180/3066/jqgridspace.png

Is there a way to remove this space or replace it with a standard thousands separator (comma or other)?

+7
jquery-plugins jqgrid
source share
2 answers

You can change the predefined formatting options. Here is the link :

EDIT:

I think that I will give Oleg and insert his comment below, in which he really does the work to provide the code from the documentation:

If you redefine $ .jgrid.formatter.integer as the next $ .jgrid.formatter.integer = {thousandSeparator: ""}; you will see all integers in jqGrid, including the full number of records created without spaces as a thousands separator. - Oleg May 20 '10 at 8:52

Thank you Oleg!

+6
source share

changed grid.locale-en.js file from integer : {thousandsSeparator: " ", defaultValue: '0'} for the image integer : {thousandsSeparator: ",", defaultValue: '0'} add a comma "," as a thousands separator

+4
source share

All Articles