SpreadJS Documentation
currentTheme Method
The theme name or the theme.
Gets or sets the current theme for the sheet.
Syntax
var instance = new GcSpread.Sheets.Sheet(name);
var returnValue; // Type: SpreadTheme
returnValue = instance.currentTheme(value);
function currentTheme( 
   value : undefined
) : SpreadTheme;

Parameters

value
The theme name or the theme.

Return Value

The current theme.
Example
This example sets a theme.
sheet.currentTheme(GcSpread.Sheets.SpreadThemes.Civic);
See Also

Reference

Sheet type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.