Commit ec0b939d authored by GoshaZotov's avatar GoshaZotov Committed by Alexander.Trofimov

for top10 filters

parent df17a9ee
......@@ -520,6 +520,11 @@
var allFilterOpenElements = newFilterColumn.createFilter(autoFiltersObject);
newFilterColumn.init(worksheet.getRange3(autoFilter.Ref.r1 + 1, filterObj.ColId + autoFilter.Ref.c1, autoFilter.Ref.r2, filterObj.ColId + autoFilter.Ref.c1));
//for add to history
if(newFilterColumn.Top10 && newFilterColumn.Top10.FilterVal && autoFiltersObject.filter && autoFiltersObject.filter.filter)
{
autoFiltersObject.filter.filter.FilterVal = newFilterColumn.Top10.FilterVal;
}
if(allFilterOpenElements && autoFilter.FilterColumns[filterObj.index])
{
......
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