retornar aggregator en utilities
This commit is contained in:
parent
45bdad3d8c
commit
df604e3069
@ -879,6 +879,7 @@ var PivotData = function () {
|
|||||||
}
|
}
|
||||||
_resultAgg.sum = subTotalBruto;
|
_resultAgg.sum = subTotalBruto;
|
||||||
_resultAgg.count = subTotalCount;
|
_resultAgg.count = subTotalCount;
|
||||||
|
_resultAgg.format = function () {};
|
||||||
_resultAgg.value = function () {
|
_resultAgg.value = function () {
|
||||||
if (_this5.props.aggregatorName === 'Conteo') {
|
if (_this5.props.aggregatorName === 'Conteo') {
|
||||||
return subTotalCount;
|
return subTotalCount;
|
||||||
@ -897,6 +898,7 @@ var PivotData = function () {
|
|||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
};
|
};
|
||||||
|
return _resultAgg;
|
||||||
}
|
}
|
||||||
if (rowKey.length === 0 && colKey.length === 0) {
|
if (rowKey.length === 0 && colKey.length === 0) {
|
||||||
agg = this.allTotal;
|
agg = this.allTotal;
|
||||||
|
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "v-react-pivottable",
|
"name": "v-react-pivottable",
|
||||||
"version": "0.11.52",
|
"version": "0.11.53",
|
||||||
"description": "A React-based pivot table",
|
"description": "A React-based pivot table",
|
||||||
"main": "PivotTableUI.js",
|
"main": "PivotTableUI.js",
|
||||||
"files": [
|
"files": [
|
||||||
|
Loading…
Reference in New Issue
Block a user