ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: kjvjung on October 16, 2017, 07:29:02 am
-
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?
-
Please check whether you have passed object ( new row ) correctly to addRow()
https://paramquery.com/pro/api#method-addRow