The grid (core) ยท console.warn
{on|once}('{type}') subscribes to an event the grid never raises, so the handler will never fire. Check the name against the EventName list - a common cause is a near miss such as 'row:click' for 'row:clicked'.
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.