The grid (rendering) ยท console.warn
unknown editor "{name}"; falling back to the data type default
Printed by The grid (rendering), prefixed [lattice], since 1.0.1.
Warnings reference › editor:missing:*
- Identifier
editor:missing:*- Raised by
- The grid (rendering)
- Since
- 1.0.1
What happened
A column named an editor that is registered neither in the grid's registry nor among the built-ins. The column is still editable: it gets the editor its data type would have chosen, which may accept values the named one would have constrained.
The fix
Register the editor under that name with config.editors, or use a built-in name, or pass the constructor directly.
The smallest fix
createGrid(el, { editors: { rating: RatingEditor }, columns: [{ id: 'score', edit: { editor: 'rating' } }] });
Reference
Covered in full at the API reference.