The grid (core) ยท console.warn
config.groupDefaultExpanded threw: {error}; the group starts expanded.
Printed by The grid (core), prefixed [lattice], since 1.58.0.
Warnings reference › groupDefaultExpanded.threw
- Identifier
groupDefaultExpanded.threw- Raised by
- The grid (core)
- Since
- 1.58.0
What happened
The predicate that decides whether a group starts open threw. The group starts expanded - the permissive default - and the grid carries on. Reported once however many groups hit it.
The fix
The error's message is quoted in the line. The predicate is called with a group info object for every group, including empty ones and the ones the grid generates.
Reference
Covered in full at the API reference.