Hello and thanks for the prompt answer.
I tried what you suggested (both occurences in saveRow), and it has no effect. If I read the code and interpret what I saw in the debugger correctly, saveRow is invoked before an edited row is sent to the server. This is too late to fix anything which has been messed up before.
As I mentioned above, the problem arises when the row in question is switched to edit mode. In my code this is done, in