I added row via addRow ().
I modified the contents in the grid.
function saveChanges () {
...
var changes = grid.getChanges ({editable: true});
debugger;
...
}
The normal case was as follows.
changes.updateList
{idx: "930", RealPid: null, MenuName: "zzz", AutoGubun: null, g12: null, ... }
(good!)
However, the line added by addRow () looks like this:
changes.updateList
[idx: "931", RealPid: null, MenuName: "zzz", AutoGubun: null, g12: null, ... ]
(bad!)
What's the problem? What is the solution?