The grid (core) ยท console.warn
{n} snapshot row(s) produced no key and were dropped from the diff; `keyOf` must be the grid's own `rowKey`.
Printed by The grid (core), prefixed [lattice], since 1.0.1.
Warnings reference › diff.unkeyed
- Identifier
diff.unkeyed- Raised by
- The grid (core)
- Since
- 1.0.1
What happened
Rows in the snapshot produced a null or undefined key, so they could not be indexed and were dropped. The diff therefore reports every one of them as an addition on the current side, or as nothing at all - it is comparing against an incomplete past.
The fix
Use the same key function as the grid's rowKey, so that the snapshot and the live rows agree on identity.
Reference
Covered in full at the API reference.