The grid (core) ยท console.warn
defaults() expects a configuration object, or null to clear it, but got {type}. The call was ignored and the defaults are unchanged.
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.