The grid (core) ยท console.warn
tree.path returned an empty path; the affected rows were placed at the root.
Printed by The grid (core), prefixed [lattice], since 1.0.1.
Warnings reference › tree.path.empty
- Identifier
tree.path.empty- Raised by
- The grid (core)
- Since
- 1.0.1
What happened
A row's path is an empty array (or not an array at all), so there is no branch to put it under. It is placed at the root rather than dropped, so the data is still visible.
The fix
Return at least one segment per row. A row that genuinely belongs at the top level should still name itself.
Reference
Covered in full at the API reference.