The grid (core) ยท console.warn
filter references unknown column "{col}"; th...
Printed by The grid (core), prefixed [lattice], since 1.0.1.
Warnings reference › filter:col:*
- Identifier
filter:col:*- Raised by
- The grid (core)
- Since
- 1.0.1
What happened
A condition names a column that has no data handle - it is not a column of this grid, or it is not loaded. There is nothing to test, so the condition is refused: it matches no rows rather than admitting every row, so a bad condition can never widen what the caller sees. filters.set and state.apply already drop a condition naming a column the grid does not declare before it reaches this point; this is the kernel's own fail-closed default for a direct or headless call.
The fix
Check the column id in the condition. A saved filter restored against a different column set is the usual cause.
Reference
Covered in full at the API reference.