Skip to content

Commit 65df868

Browse files
fix drillDown performing on summary caption
1 parent aa19ac3 commit 65df868

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

source/js/DataController.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,7 @@ DataController.prototype.resetRawData = function () {
410410
group: groupNum,
411411
isCaption: true,
412412
source: {},
413+
noDrillDown: true,
413414
value: navigator.language === "ru" ? "Всего" : "Total"
414415
};
415416
applyHeaderStyle(summary[i], false);

source/js/PivotView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ PivotView.prototype.renderRawData = function (data) {
473473
}
474474

475475
// add listeners
476-
if (vertical && x === xTo - 1) {
476+
if (vertical && x === xTo - 1 && !rawData[y][x]["noDrillDown"]) {
477477
primaryRows.push(th);
478478
th.addEventListener(CLICK_EVENT, (function (index, data) {
479479
return function () {

0 commit comments

Comments
 (0)