The grid (core) ยท console.warn
edit.validate threw for column '{colId}'; the edit was rejected.
Printed by The grid (core), prefixed [lattice], since 1.0.1.
Warnings reference › edit.validate.throw:*
- Identifier
edit.validate.throw:*- Raised by
- The grid (core)
- Since
- 1.0.1
What happened
The validator threw, which is treated as a failed validation: the edit is rejected with a generic message rather than being accepted unvalidated. Rejecting is the safe direction - an unvalidated write is worse than a refused one.
The fix
The error is attached to the console line. A validator returns true to accept, or a string to reject with that message.
Reference
Covered in full at the API reference.