Lattice Grid Buy a licence

The grid (core) ยท console.warn

defaults() expects a configuration object, o...

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

Warnings reference › defaults:type

Identifier
defaults:type
Raised by
The grid (core)
Since
1.57.0

What happened

defaults() sets the house configuration every later grid inherits. The argument was not an object, so nothing was set and whatever defaults were already in force stay in force - which is worth saying, because the symptom is a grid that quietly does not pick up your house style.

The fix

Pass a configuration object, or null to clear the defaults.

The smallest fix

defaults({ theme: 'navy', rowHeight: 32 });

Reference

Covered in full at the API reference.