calendar ยท console.warn
setRows on a grid-bound calendar is ignored;...
Printed by calendar, prefixed [lattice], since 1.83.0.
Warnings reference › calendar:setRows-gridbound
- Identifier
calendar:setRows-gridbound- Raised by
- calendar
- Since
- 1.83.0
What happened
setRows() was called on a calendar created with a grid. The grid owns the rows, so replacing them on the calendar is refused; the calendar keeps following the grid.
The fix
Set the rows on the bound grid instead, or create the calendar without grid.
The smallest fix
grid.setRows(rows); // the calendar follows
Reference
Covered in full at the API reference.