SpreadJS Documentation
currentTheme Method
GC.Spread.Sheets Namespace > Worksheet type : currentTheme Method
The theme name or the theme.
Gets or sets the current theme for the sheet.
Syntax
var instance = new GC.Spread.Sheets.Worksheet(name);
var returnValue; // Type: any
returnValue = instance.currentTheme(value);
function currentTheme( 
   value : undefined
) : any;

Parameters

value
The theme name or the theme.

Return Value

If no value is set, returns the current theme; otherwise, returns the worksheet.
Example
This example sets a theme.
sheet.currentTheme("Civic");
See Also

Reference

Worksheet type