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

check row fields

parent 569fb116
...@@ -2727,11 +2727,13 @@ CT_pivotTableDefinition.prototype.updatePivotType = function () { ...@@ -2727,11 +2727,13 @@ CT_pivotTableDefinition.prototype.updatePivotType = function () {
var field; var field;
var pivotFields = this.asc_getPivotFields(); var pivotFields = this.asc_getPivotFields();
var rowFields = this.asc_getRowFields(); var rowFields = this.asc_getRowFields();
for (var i = 0; i < rowFields.length; ++i) { if (rowFields) {
field = pivotFields[rowFields[i].asc_getIndex()]; for (var i = 0; i < rowFields.length; ++i) {
if (false !== field.outline) { field = pivotFields[rowFields[i].asc_getIndex()];
this.clearGrid = true; if (false !== field.outline) {
break; this.clearGrid = true;
break;
}
} }
} }
}; };
......
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