Commit 784cbd15 authored by GoshaZotov's avatar GoshaZotov

if add 1 column table

parent dfecb632
...@@ -5072,7 +5072,11 @@ TablePart.prototype.generateTotalsRowLabel = function(ws) ...@@ -5072,7 +5072,11 @@ TablePart.prototype.generateTotalsRowLabel = function(ws)
return; return;
} }
this.TableColumns[0].generateTotalsRowLabel(); //в случае одной колонки выставляем только формулу
if(this.TableColumns.length > 1)
{
this.TableColumns[0].generateTotalsRowLabel();
}
this.TableColumns[this.TableColumns.length - 1].generateTotalsRowFunction(ws, this); this.TableColumns[this.TableColumns.length - 1].generateTotalsRowFunction(ws, this);
}; };
......
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