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

Bug #32281 - Не снимается кнопка автофильтра при применении Header в Table Settings

parent 2520b1ea
...@@ -12419,7 +12419,11 @@ ...@@ -12419,7 +12419,11 @@
var typeFilter = filter ? filter.getType() : null; var typeFilter = filter ? filter.getType() : null;
var autoFilter = typeFilter !== null && typeFilter === g_nFiltersType.autoFilter ? filter : filter.AutoFilter; var autoFilter = typeFilter !== null && typeFilter === g_nFiltersType.autoFilter ? filter : filter.AutoFilter;
if(autoFilter && autoFilter.FilterColumns)//проверяем скрытые ячейки if(filter.HeaderRowCount === 0)
{
result = false;
}
else if(autoFilter && autoFilter.FilterColumns)//проверяем скрытые ячейки
{ {
var colId = col - autoFilter.Ref.c1; var colId = col - autoFilter.Ref.c1;
for(var i = 0; i < autoFilter.FilterColumns.length; i++) for(var i = 0; i < autoFilter.FilterColumns.length; i++)
......
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