ParamQuery grid support forum

General Category => Suggest new features => Topic started by: Webauthor on August 14, 2020, 11:41:31 pm

Title: Format Item Count in Grid
Post by: Webauthor on August 14, 2020, 11:41:31 pm
Hi, is there a way we can format the number for total items so that it has commas in it?

e.g. In the attached, it shows:

369733 items, but I'd like to see it as 369,733 items.

Is this possible via a configuration?
Title: Re: Format Item Count in Grid
Post by: paramvir on August 17, 2020, 09:39:35 am
Not currently.

pageModel.format option has been added in upcoming version:

format: "##,###" would make it

1849 => 1,849

369733 => 369,733
Title: Re: Format Item Count in Grid
Post by: Webauthor on August 17, 2020, 09:40:56 am
That’s great. Thank you!