Posted 7 May 2018, 8:11 pm EST
Is it possible to change the font of tabstrip? like in columnHeader and rowHeader.
Forums Home / Spread / SpreadJS
Posted by: jeric on 7 May 2018, 8:11 pm EST
Posted 7 May 2018, 8:11 pm EST
Is it possible to change the font of tabstrip? like in columnHeader and rowHeader.
Posted 9 May 2018, 12:31 am EST
Hello,
I don’t find a direct way to set the font for TabStrip. TabStrip is rendered as a canvas and it does not allow changing the font style or size.
I have submitted it as an enhancement request. The request id for the same is :258095
It may get added in our future version of SpreadJS.
Thanks,
Deepak Sharma
Posted 9 May 2018, 7:50 pm EST
Hello,
To change the Sheet Tab font you can use the code as follows:
var spread = new GC.Spread.Sheets.Workbook(document.getElementById(“ss”), { sheetCount: 2, font: “italic 20px Georgia” });
Thanks,
Deepak Sharma