Lattice Grid Buy a licence

Data Router ยท console.warn

an edit on a derived (rollup/transform) route is read-only and was reverted; a derived row cannot be inverted to a source row. Make the source route writable instead.

Printed by Data Router, prefixed [lattice], since 1.34.0.

Warnings referencedata-router:readonly-write

Identifier
data-router:readonly-write
Raised by
Data Router
Since
1.34.0

What happened

A cell was edited in a grid fed by a derived route - a rollup or a transform. The router cannot invert a derived row back to the source rows it came from, so there is nothing to write; the edit was reverted in the grid so that the screen keeps telling the truth.

The fix

Attach the *source* route as writable and edit there, letting the derived view recompute from it.

The smallest fix

router.attach(sourceGrid, { writable: true, onWrite });

Reference

Covered in full at the API reference.