The grid (core) ยท console.warn
an appended row was confirmed without a serv...
Printed by The grid (core), prefixed [lattice], since 1.26.0.
Warnings reference › pending.rows.append.nokey
- Identifier
pending.rows.append.nokey- Raised by
- The grid (core)
- Since
- 1.26.0
What happened
The append succeeded and the grid never learned the id the server gave the row, so the row keeps the temporary key it was created with. It is saved; it simply cannot be addressed by its real id - a later update or delete keyed on the server id will not find it.
The fix
Declare returning: 'key' or returning: 'row' on the adapter so the append answers with the new id.
Reference
Covered in full at the API reference.