Lattice Grid Buy a licence

KPI ยท console.warn

this KPI panel was bound to a grid that has ...

Printed by KPI, prefixed [lattice], since 1.82.0.

Warnings reference › kpi:grid-destroyed

Identifier
kpi:grid-destroyed
Raised by
KPI
Since
1.82.0

What happened

The grid the panel was bound to was destroyed (an htmx swap, a page-framework teardown, or a host call to grid.destroy()). The panel stays mounted but stops following the dead grid, and a refresh shows nothing rather than throwing on the torn-down store.

The fix

Point the panel at the replacement grid with kpi.rebind(grid), or declare data-lattice-bind="<grid id>" on its container so the htmx module re-binds it automatically after a swap.

The smallest fix

kpi.rebind(newGrid);

Reference

Covered in full at the API reference.