Lattice Grid Buy a licence

The grid (core) ยท console.warn

invalid number format pattern "{pattern}"; t...

Printed by The grid (core), prefixed [lattice], since 1.99.0.

Warnings reference › format:pattern:*

Identifier
format:pattern:*
Raised by
The grid (core)
Since
1.99.0

What happened

A pattern on a number format - or a bare pattern string - held no digit placeholder, so nothing could be compiled from it. The value renders with the default number format rather than the requested one.

The fix

Give the pattern at least one 0 or # digit placeholder, e.g. '#,##0.00'.

Reference

Covered in full at the API reference.