The grid (core) ยท console.warn
rowKey {named} is missing on {n} of {m} rows; the first such row has: {fields}. Rows without a key value collapse onto one key, so selection, edits and rows.apply updates land on whichever row now shares it. Set rowKey to a field present on every row, or fix the source data.
Printed by The grid (core), prefixed [lattice], since 1.56.0.
Warnings reference › rowKey.emptyValue:*
- Identifier
rowKey.emptyValue:*- Raised by
- The grid (core)
- Since
- 1.56.0
What happened
The key field is absent (or empty) on some rows, and every one of those rows produces the same key. They are therefore the *same row* as far as the grid is concerned: selecting one selects them all, an edit lands on whichever the lookup finds first, and an incoming update for that key overwrites an arbitrary one. The message names the fields the first offending row does have, which is usually enough to see what went wrong.
The fix
Use a field that is present on every row, or fix the data so the key is always there.
Reference
Covered in full at the API reference.