Commit ed0660a2 authored by GoshaZotov's avatar GoshaZotov

TotalsRowFormula -> TotalRowFunction(open new sheets with format tables(with...

TotalsRowFormula -> TotalRowFunction(open new sheets with format tables(with total row) and add new total row by format tables)
parent 5d6e6533
......@@ -2662,7 +2662,7 @@
this.sheetViews[j].pane = null;
}
}
this.setTableFormulaAfterOpen();
//this.setTableFormulaAfterOpen();
this._updateConditionalFormatting(null);
this.handlers = handlers;
......
......@@ -6160,8 +6160,8 @@ TableColumn.prototype.generateTotalsRowFunction = function(ws, tablePart){
//TODO добавить в перевод
if(null === this.TotalsRowFunction && null === this.TotalsRowLabel)
{
this.TotalsRowFunction = Asc.ETotalsRowFunction.totalrowfunctionCustom;
this.setTotalsRowFormula("SUBTOTAL(109," + tablePart.DisplayName + "[" + this.Name + "])", ws);
this.TotalsRowFunction = Asc.ETotalsRowFunction.totalrowfunctionSum;
//this.setTotalsRowFormula("SUBTOTAL(109," + tablePart.DisplayName + "[" + this.Name + "])", ws);
}
};
......
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