The grid (rendering) ยท console.warn
config.responsive is set but carries no template; the grid stays a table at every width. Supply responsive: { maxWidth: 640, template: '<div>{{cell.name}}</div>' }.
Printed by The grid (rendering), prefixed [lattice], since 1.6.0.
Warnings reference › responsive.missing
- Identifier
responsive.missing- Raised by
- The grid (rendering)
- Since
- 1.6.0
What happened
The responsive presentation needs a template to switch to below its breakpoint, and none was given. The option does nothing: the grid renders as a table at every width, including on the narrow screens the option was added for.
The fix
Give responsive a template (and a maxWidth if the default breakpoint is not right).
Reference
Covered in full at the API reference.