The grid (rendering) ยท console.warn
views.local is ignored because views.storage was also supplied; the explicit adapter wins.
Printed by The grid (rendering), prefixed [lattice], since 1.7.0.
Warnings reference › views:local:ignored
- Identifier
views:local:ignored- Raised by
- The grid (rendering)
- Since
- 1.7.0
What happened
Both the localStorage shortcut and an explicit storage adapter were configured. The explicit adapter wins and views.local does nothing: silently overriding a developer-supplied backend because a page also left local set would be a surprise worth reporting rather than a policy decision made on your behalf.
The fix
Drop whichever of the two you did not mean.
The smallest fix
createGrid(el, { views: { storage: myAdapter } });
Reference
Covered in full at the API reference.