Search code examples
jqgridjqpivot

average miscalculated on pagination/export


I am having trouble when using aggregators with avg because it keeps dividing the last result by the quantity every time pagination goes back or export occurs.

So the 1st time on the page/export the avg is right and every subsequent export/page back the last result gets divided again by the number of rows.

That only happens with more than one xDimension.

Also in the export at each export each summary header is repeated X times exported.

Anyone experienced that? jqgrid 5.3.0.

Edit: (image removed, example removed)


Solution

  • The example help to resolve the problem. Thank you. This was a bug and it is fixed. You can get the fix from GitHub the code is rebuild ed