The grid (core) ยท console.warn
column "{id}" cannot be grouped: a secret co...
Printed by The grid (core), prefixed [lattice], since 1.126.0.
Warnings reference › group.secret:*
- Identifier
group.secret:*- Raised by
- The grid (core)
- Since
- 1.126.0
What happened
A secret column was named in columns.group(). The group header is masked, but the group key and the distinct-group count are the raw values, so the column is left out of the grouping rather than grouped by its hidden value.
The fix
Group by a different column, or do not group this column.
The smallest fix
grid.columns.group('region'); // not the secret column
Reference
Covered in full at the API reference.