Commit c1cade9e authored by Alexander.Trofimov's avatar Alexander.Trofimov

add return value

parent a0035c7f
......@@ -2767,9 +2767,9 @@ CT_pivotTableDefinition.prototype.getValue = function (records, index, subtotal)
}
}
var f = new AscCommonExcel.cSUBTOTAL();
var res = (new AscCommonExcel.cSUBTOTAL()).Calculate(arg);
return f.Calculate(arg);
return res ? res.value : null;
};
CT_pivotTableDefinition.prototype.asc_getName = function () {
return this.name;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment