Hi,
I have editable grid and need to inform user about server side validation errors on grid fields which are hidden. So add handler:
event.getDsResponse().getErrors() should return a Map, but it prints something like:
Am I doing something wrong ?
MichalG
I have editable grid and need to inform user about server side validation errors on grid fields which are hidden. So add handler:
Code:
grid.addEditFailedHandler(new EditFailedHandler() { public void onEditFailed(EditFailedEvent event) { System.out.println(event.getDsResponse().getErrors()); } });
Code:
{0=[object Object], Class=Array, newInstance= function () { var _1 = []; isc.addPropertyList(_1, arguments); return _1; } , create= function () { var _1 = []; isc.addPropertyList(_1, arguments); return _1; } , observe= [cut]
MichalG
Comment