Lattice Grid Buy a licence

The grid (core) ยท console.warn

{on|once}('{type}') subscribes to an event t...

Printed by The grid (core), prefixed [lattice], since 1.16.0.

Warnings reference › bus.unknown:*

Identifier
bus.unknown:*
Raised by
The grid (core)
Since
1.16.0

What happened

The event name is not one the grid emits, so the subscription is dead: it is registered, it costs nothing, and it will never be called. The check runs in development builds only.

The fix

Check the name against the events reference. Near misses - a missing :ed, a singular for a plural - are the usual cause.

The smallest fix

grid.on('row:clicked', ({ key }) => open(key));

Reference

Covered in full at the API reference.