The grid (core) ยท console.warn
unknown source.mode "{mode}"; falling back to "memory". Known modes: {list}.
Printed by The grid (core), prefixed [lattice], since 1.0.1.
Warnings reference › source.mode.*
- Identifier
source.mode.*- Raised by
- The grid (core)
- Since
- 1.0.1
What happened
The source mode is not one the grid implements, so a memory source was built instead. Everything the intended mode would have done - fetching, paging, streaming, deriving - does not happen, and the grid shows only the rows it was handed directly.
The fix
Use one of the modes listed in the message.
The smallest fix
createGrid(el, { source: { mode: 'remote', fetch } });
Reference
Covered in full at the API reference.