leaflet ยท console.warn
bindLeaflet: row {key} was selected from the...
Printed by leaflet, prefixed [lattice], since 1.76.0.
Warnings reference › leaflet:selection
- Identifier
leaflet:selection- Raised by
- leaflet
- Since
- 1.76.0
What happened
A click on a feature (or binding.select(key)) asked the grid to select that row, and afterwards the row was not selected. A grid created without a selection option selects nothing, so the click would otherwise do nothing and say nothing; a beforeSelect handler that refuses the change has the same effect.
The fix
Create the grid with selection: 'single' (or 'multiple'), or check the beforeSelect handler.
The smallest fix
createGrid(el, { rowKey: 'id', selection: 'single', columns, rows });
Reference
Covered in full at the API reference.