Commit 7ae5a8ae authored by GoshaZotov's avatar GoshaZotov

fix bug - apply filter by AutoFilter(autoFilter object is null)

parent 9fd1e67e
......@@ -553,7 +553,13 @@
if(filterObj.filter.TableStyleInfo !== undefined)
autoFilter = filterObj.filter.AutoFilter;
if(!autoFilter)
{
autoFilter = new AscCommonExcel.AutoFilter();
autoFilter.Ref = currentFilter.Ref.clone();
filterObj.filter.AutoFilter = autoFilter;
}
var newFilterColumn;
if(filterObj.index !== null)
{
......
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