retornar aggregator en utilities

This commit is contained in:
dehernandezm 2025-02-11 15:30:47 -06:00
parent 45bdad3d8c
commit df604e3069
3 changed files with 4 additions and 2 deletions

View File

@ -879,6 +879,7 @@ var PivotData = function () {
}
_resultAgg.sum = subTotalBruto;
_resultAgg.count = subTotalCount;
_resultAgg.format = function () {};
_resultAgg.value = function () {
if (_this5.props.aggregatorName === 'Conteo') {
return subTotalCount;
@ -897,6 +898,7 @@ var PivotData = function () {
}
return 0;
};
return _resultAgg;
}
if (rowKey.length === 0 && colKey.length === 0) {
agg = this.allTotal;

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"name": "v-react-pivottable",
"version": "0.11.52",
"version": "0.11.53",
"description": "A React-based pivot table",
"main": "PivotTableUI.js",
"files": [