The grid (rendering) ยท console.warn
localStorage is not reachable; a grid configured with views.local will not persist views across reloads.
Printed by The grid (rendering), prefixed [lattice], since 1.7.0.
Warnings reference › views:local:unavailable
- Identifier
views:local:unavailable- Raised by
- The grid (rendering)
- Since
- 1.7.0
What happened
views.local was asked for and localStorage is either absent or throws on access - a locked-down environment, a sandboxed frame, a runtime with no storage. Saved views work for the life of the page and are gone on reload.
The fix
Supply your own views.storage adapter (a server round-trip, an in-memory store) where localStorage cannot be relied on.
Reference
Covered in full at the API reference.