The grid (core) · console.warn
no licence key supplied. The grid renders in full and carries a trial watermark on any host other than localhost. Get a key at latticegrid.dev.
Printed by The grid (core), prefixed [lattice], since 1.0.1.
Warnings reference › licence.*
- Identifier
licence.*- Raised by
- The grid (core)
- Since
- 1.0.1
What happened
The licence key could not be parsed. The id takes one of two forms - licence.missing when no key was supplied at all, and licence.malformed when one was supplied and could not be read - and they print different sentences. Either way the grid renders in full: nothing is disabled, and a watermark is drawn on any host other than localhost.
The fix
Supply a valid key in config.licence. Development on localhost needs no key.
The smallest fix
createGrid(el, { licence: 'LG1-…' });
Reference
Covered in full at the API reference.