Commit 1cdb477b authored by Alexander.Trofimov's avatar Alexander.Trofimov

fix bug 32584

parent 0fa87bf6
......@@ -4153,7 +4153,7 @@
headerRowCount = options.HeaderRowCount;
if(null != options.TotalsRowCount)
totalsRowCount = options.TotalsRowCount;
if(style && style.Name && worksheet.workbook.TableStyles && worksheet.workbook.TableStyles.AllStyles && (styleForCurTable = worksheet.workbook.TableStyles.AllStyles[style.Name]))
if(style && worksheet.workbook.TableStyles && worksheet.workbook.TableStyles.AllStyles)
{
//заполняем названия столбцов
if(true != isOpenFilter && isSetVal && !bRedoChanges)
......@@ -4199,6 +4199,15 @@
}
}
if(!style.Name || (style.Name && !worksheet.workbook.TableStyles.AllStyles[style.Name]))
{
return;
}
else
{
styleForCurTable = worksheet.workbook.TableStyles.AllStyles[style.Name]
}
//заполняем стили
var aNoHiddenCol = [];
for(var i = bbox.c1; i <= bbox.c2; 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