I'm trying to figure out how to use one call to the server to validate a field in a ListGrid and return values that can then be used to populate other fields in that grid record. I don't want to make two server calls since the validation call already has to access all of the same data I need to return.
I've tried adding a ChangedHandler to the field and an EditorExitHandler and making the call to the server within those. But I can't seem to figure out how to recreate the behavior of a normal validator (flagging the field as an error, resetting the value when escape key is pressed, etc.).
It seems like there must be a better way. Any advice?
I've tried adding a ChangedHandler to the field and an EditorExitHandler and making the call to the server within those. But I can't seem to figure out how to recreate the behavior of a normal validator (flagging the field as an error, resetting the value when escape key is pressed, etc.).
It seems like there must be a better way. Any advice?
Comment