Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to set error on field being edited in ListGrid

    There must be an obvious API I'm overlooking, but I can't seem to find a way to set an error on a field in a ListGrid that is being edited. I have an EditorExitHandler on the ListGridField that does a call to the server to both validate the field value and return default values for other fields in the record.

    The server call is working and when there is no validation error I'm able to set the default values for the other fields using setEditValue(), but I don't see any API for setting an error on the field when the server call returns validation errors. What am I missing?
Working...
X