The default operator on the value fields is 'sum'. You can try to extend other operators to fit your requirement. For more information please refer to
http://www.jeasyui.com/extension/pivotgrid.php.
//implement the 'sum' operator
$.extend($.fn.pivotgrid.defaults.operators, {
sum: function(rows, field){
var opts = $(this).pivotgrid('options');
var v = 0;
$.map(rows,function(row){
v += parseFloat(row[field])||0;
});
return v.toFixed(opts.valuePrecision);
}
});