Skip to content

Commit 16d8164

Browse files
fixed summary header, total fix when header rows number > 1
1 parent d4ffdad commit 16d8164

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/js/DataController.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ DataController.prototype.resetRawData = function () {
198198
group: groupNum,
199199
isCaption: true,
200200
source: {},
201-
value: "
201+
value: navigator.language === "ru" ? "Всего" : "Total"
202202
}
203203
} else {
204204
summary[i] = {
@@ -212,7 +212,7 @@ DataController.prototype.resetRawData = function () {
212212
sum += parseFloat(array[i][column]["value"]) || 0;
213213
}
214214
return sum || "";
215-
})(rawData, xh, rawData.length - xh, i),
215+
})(rawData, xh, rawData.length - 1, i),
216216
style: {
217217
"font-weight": 900
218218
}

0 commit comments

Comments
 (0)