Commit 16902ca7 authored by Alexander.Trofimov's avatar Alexander.Trofimov

fix 0 row fields

parent 4e13d96e
......@@ -5108,10 +5108,10 @@
}
}
}
countR = pivotTable.getRowFieldsCount();
items = pivotTable.getRowItems();
if (items) {
if (countR && items) {
start = pivotRange.r1 + countC + 1;
countR = pivotTable.getRowFieldsCount();
for (j = 0; j < items.length; ++j) {
item = items[j];
if (AscCommonExcel.c_oAscItemType.Grand === item.t || 0 === countR) {
......
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