Lattice Grid Buy a licence

The grid (core) ยท console.warn

tree.parentKey produced a cycle; the affected rows were attached to the root.

Printed by The grid (core), prefixed [lattice], since 1.0.1.

Warnings referencetree.cycle

Identifier
tree.cycle
Raised by
The grid (core)
Since
1.0.1

What happened

Following parentKey from some rows never reaches a root: they point at each other, directly or round a longer loop. Those rows cannot be placed in the tree, so they are shown at the root (or under the named orphan group, when the source is configured with one) rather than dropped. One cycle promotes exactly one row, so a loop of ten does not produce ten copies.

The fix

Break the cycle in the data. A row whose parentKey is its own key is the commonest form.

Reference

Covered in full at the API reference.