ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: darioup on October 25, 2018, 06:47:54 pm
-
Hi, I followed the batch editing demo and it works great when no grouping is involved.
When grouping everything looks fine but can't save changes.
I guess the error is on this line
data: {
//JSON.stringify not required for PHP
list: JSON.stringify( gridChanges )
},
When trying to save changes I receive the following errors:
Uncaught TypeError: Converting circular structure to JSON
at JSON.stringify (<anonymous>)
at saveChanges
other errors are shown if I remove JSON.stringify
data: {
list: gridChanges
},
errors:
Uncaught RangeError: Maximum call stack size exceeded
at Number.toString (<anonymous>)
at Function.isPlainObject (jquery.min.js:2)
at Function.r.extend.r.fn.extend (jquery.min.js:2)
What is the way to save/batch editing when grouping is involved??
-
Batch editing doesn't work when row grouping in turned on.
You would need to turn it off before making any batch updates in the grid, and row grouping can be turned back on after the changes are committed.