Posted 4 March 2021, 6:08 am EST - Updated 3 October 2022, 12:54 am EST
We’re using a custom theme and which we also override some of the tabletheme options with the following code
for (var theme in GC.Spread.Sheets.Tables.TableThemes) {
if(theme !== 'inherits'){ GC.Spread.Sheets.Tables.TableThemes[theme].headerRowStyle().font = defaultFont; GC.Spread.Sheets.Tables.TableThemes[theme].footerRowStyle().font = defaultFont; GC.Spread.Sheets.Tables.TableThemes[theme].highlightFirstColumnStyle().font = defaultFont; GC.Spread.Sheets.Tables.TableThemes[theme].highlightLastColumnStyle().font = defaultFont;
}
}
Within the spread view everything looks correct, however when we export and open the exported xlsx file in Excel some of the the table theme headers are displaying the correct font color.
Is there something that is being missed?
The themes that have this issue are:
Light 8, Medium 1, Medium 8, Medium 15 and Dark 1 through Dark 8
attached are images of how Light 8 looks in the spread as well as in excel