I’m trying to update additional cell data in a grid row when an update has occured on the row, but I’m getting an error and the cell isn’t updated
I have attached the following to the dataprocessor for the grid:
dp.defineAction(“updated”, function (sid, response)
{
var sid = response.getAttribute(“sid”);
var total_amount = response.getAttribute(“total_amount”);
this.obj.cells(sid, 5).setValue(total_amount);
return true;
});
According to the debug window the response is correct (see attached capture.png).
The browser throws a javascript error (see attached capture2.png)
And the line 113 mentioned is the first line in the eventhandler:
var sid = response.getAttribute(“sid”);
It appears that somehow either the response is null or the sid is null although the debug window shows otherwise… What can be causing of this?