SpreadJS Documentation
backColor Method
The row background color.
Gets or sets the background color for the row, such as "red", "#FFFF00", "rgb(255,0,0)", "Accent 5", and so on.
Syntax
var instance = new GcSpread.Sheets.Row(sheet, index, sheetArea);
var returnValue; // Type: string
returnValue = instance.backColor(value);
function backColor( 
   value : string
) : string;

Parameters

value
The row background color.

Return Value

The row background color.
Example
This example sets the row backcolor.
activeSheet.getRow(2).backColor("lightblue");
See Also

Reference

Row type
Setting Colors

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.