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

Webauthor

  • Pro OEM
  • Newbie
  • *
  • Posts: 41
    • 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: 5090
    • 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
  • Newbie
  • *
  • Posts: 41
    • View Profile
Re: Format Item Count in Grid
« Reply #2 on: August 17, 2020, 09:40:56 am »
Thatís great. Thank you!