Author Topic: Format Item Count in Grid  (Read 2630 times)

Webauthor

  • Pro OEM
  • Jr. Member
  • *
  • Posts: 51
    • View Profile
Format Item Count in Grid
« 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?

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Format Item Count in Grid
« Reply #1 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

Webauthor

  • Pro OEM
  • Jr. Member
  • *
  • Posts: 51
    • View Profile
Re: Format Item Count in Grid
« Reply #2 on: August 17, 2020, 09:40:56 am »
That’s great. Thank you!