Lattice Grid Buy a licence

Data Router ยท console.warn

{count} child row(s) were orphaned when thei...

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

Warnings reference › router:orphaned-rows

Identifier
router:orphaned-rows
Raised by
Data Router
Since
1.84.0

What happened

A parent row was deleted under onParentDelete: 'orphan', so its children were NOT deleted: they stay in their own source/grid, marked __orphan: true so a viewer can tell they no longer have a parent. Warned once per router, with the count of children orphaned in that batch.

The fix

Re-add the parent (which re-adopts its orphans and clears the mark), or clean the orphaned rows up yourself.

The smallest fix

join: { from: 'address', foreignKey: 'companyId', many: true, as: 'addrs', onParentDelete: 'orphan' }

Reference

Covered in full at the API reference.