The grid (core) ยท console.warn
filters.where(name, fn) needs a non-empty string name; the predicate was not registered.
Printed by The grid (core), prefixed [lattice], since 1.56.0.
Warnings reference › filters.where.name
- Identifier
filters.where.name- Raised by
- The grid (core)
- Since
- 1.56.0
What happened
A where predicate is registered under a name so that it can be replaced, re-run or removed later. The name given was not a non-empty string, so nothing was registered and the rows are unfiltered by it.
The fix
Give the predicate a name.
The smallest fix
grid.filters.where('mine', (row) => row.owner === me);
Reference
Covered in full at the API reference.