Commit 20a99c1a authored by Alexander.Trofimov's avatar Alexander.Trofimov

check row fields

parent 569fb116
......@@ -2727,6 +2727,7 @@ CT_pivotTableDefinition.prototype.updatePivotType = function () {
var field;
var pivotFields = this.asc_getPivotFields();
var rowFields = this.asc_getRowFields();
if (rowFields) {
for (var i = 0; i < rowFields.length; ++i) {
field = pivotFields[rowFields[i].asc_getIndex()];
if (false !== field.outline) {
......@@ -2734,6 +2735,7 @@ CT_pivotTableDefinition.prototype.updatePivotType = function () {
break;
}
}
}
};
CT_pivotTableDefinition.prototype.intersection = function (range) {
return (this.location && this.location.intersection(range)) || this.pageFieldsIntersection(range);
......
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