The grid (core) ยท console.warn
source.mode "derived" needs `from`: the grid to derive from.
Printed by The grid (core), prefixed [lattice], since 1.10.0.
Warnings reference › source.derived.from
- Identifier
source.derived.from- Raised by
- The grid (core)
- Since
- 1.10.0
What happened
A derived source computes its rows from another grid, and none was named - or, for a union, the array of parents resolved to nothing usable. The source is inert: it produces no rows at all.
The fix
Set from to the grid instance to derive from, or to an array of { grid, label } entries for a union.
The smallest fix
createGrid(el, { source: { mode: 'derived', from: parentGrid, follow: 'filtered' } });
Reference
Covered in full at the API reference.