SpreadJS Documentation
SpreadThemes Constructor
Represents all built-in themes.
Syntax
var instance = new GcSpread.Sheets.SpreadThemes();
function SpreadThemes() : SpreadThemes;
Example
This example creates a custom theme.
var custom = new GcSpread.Sheets.SpreadTheme("CustomTheme");
custom.colors().accent1("red");
custom.colors().accent6("green");
custom.colors().textColor1("orange");
activeSheet.currentTheme(custom);
activeSheet.getCell(0, 0).backColor("accent 1");
activeSheet.getCell(1, 0).backColor("accent 1 30");
See Also

Reference

SpreadThemes class

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.