Commit 61e20b94 authored by GoshaZotov's avatar GoshaZotov

fix bug 32984

parent 48eddb7c
...@@ -13285,6 +13285,13 @@ ...@@ -13285,6 +13285,13 @@
//add total row //add total row
rangeUpTable = rangeUpTable =
new Asc.Range(tablePart.Ref.c1, tablePart.Ref.r2 + 1, tablePart.Ref.c2, tablePart.Ref.r2 + 1); new Asc.Range(tablePart.Ref.c1, tablePart.Ref.r2 + 1, tablePart.Ref.c2, tablePart.Ref.r2 + 1);
//add total table if down another format table
if(ws.autoFilters._isPartTablePartsUnderRange(tablePart.Ref)){
ws.workbook.handlers.trigger("asc_onError", c_oAscError.ID.AutoFilterChangeFormatTableError,
c_oAscError.Level.NoCritical);
return false;
}
} }
if (rangeUpTable && this.model.autoFilters._isEmptyRange(rangeUpTable, 0) && if (rangeUpTable && this.model.autoFilters._isEmptyRange(rangeUpTable, 0) &&
......
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