Lattice Grid Buy a licence

calendar ยท console.warn

rows.apply on a grid-bound calendar is ignor...

Printed by calendar, prefixed [lattice], since 1.83.0.

Warnings reference › calendar:apply-gridbound

Identifier
calendar:apply-gridbound
Raised by
calendar
Since
1.83.0

What happened

apply() was called on a calendar created with a grid. A grid-bound calendar takes its rows from that grid, so accepting a diff here would give it a second source of truth; the diff was dropped and the calendar still shows the grid's rows.

The fix

Apply the diff to the grid and the calendar follows it, or create the calendar without grid if it is to be driven directly.

The smallest fix

grid.rows.apply({ add, update, remove });   // the calendar follows

Reference

Covered in full at the API reference.