The editor type is textarea. The json response appears to be formatted per requirements, and indeed an api call to get the row data after the update shows the correct new data. There are no console errors.
So the response comes in and the editor closes automatically. At this point it's displaying the new, correct data that was just submitted. But as soon as I click elsewhere (focus change), the data reverts to the previous value. If I open the editor again, the new data is there.
From the console I can run .row('#my-row').invalidate().draw()
and the value is updated. However when I try to do this from within the submitComplete
handler, it has no effect.
Note I am using drawType: 'none'
. Toggling this seems to have no affect. Also tried using the data
and dom
arguments for invalidate
to no effect.
Any tips on what to look for here?