SpreadJS Documentation
backColor Method
The color string.
Gets or sets a color string used to represent the background color of the Spread component, such as "red", "#FFFF00", "rgb(255,0,0)", "Accent 5", and so on.
Syntax
var instance = new GcSpread.Sheets.Spread(host, options);
var returnValue; // Type: Object
returnValue = instance.backColor(value);
function backColor( 
   value : string
) : Object;

Parameters

value
The color string.

Return Value

The color string used to represent the background color of the spread component.
Example
This example sets the spread widget's background color.
activeSpread.backColor("red");
Remarks
The default value is "white."
See Also

Reference

Spread type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.