Data Router ยท console.warn
attach({ writable: true }) needs a grid exposing grid.on and grid.edit.setCells; write-back is off for this route.
Printed by Data Router, prefixed [lattice], since 1.34.0.
Warnings reference › data-router:writable-target
- Identifier
data-router:writable-target- Raised by
- Data Router
- Since
- 1.34.0
What happened
Write-back listens to the target's committed cell:changed events through its public event surface, and this target has neither on nor edit.setCells - it is not an editable grid. The route is attached and delivers rows normally; it simply never sends anything back.
The fix
Attach a grid for a writable route. A plain handler function cannot be written back through, because there is no editing surface to listen to.
Reference
Covered in full at the API reference.