Commit 2e586aa3 authored by Alexander.Trofimov's avatar Alexander.Trofimov

send onFilterInfo if undo/redo(apply changes) on filter

parent d27f76d1
...@@ -973,6 +973,7 @@ ...@@ -973,6 +973,7 @@
break; break;
case AscCH.historyitem_AutoFilter_ApplyMF: case AscCH.historyitem_AutoFilter_ApplyMF:
this.applyAutoFilter(data.autoFiltersObject, data.activeCells); this.applyAutoFilter(data.autoFiltersObject, data.activeCells);
this.worksheet.handlers.trigger('onFilterInfo');
break; break;
case AscCH.historyitem_AutoFilter_Move: case AscCH.historyitem_AutoFilter_Move:
this._moveAutoFilters(data.moveTo, data.moveFrom); this._moveAutoFilters(data.moveTo, data.moveFrom);
...@@ -1180,6 +1181,9 @@ ...@@ -1180,6 +1181,9 @@
} }
} }
} }
if (AscCH.historyitem_AutoFilter_ApplyMF === type) {
this.worksheet.handlers.trigger('onFilterInfo');
}
} }
else if(cloneData.Ref) //удаление таблиц / автофильтров else if(cloneData.Ref) //удаление таблиц / автофильтров
{ {
......
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