SpreadJS Documentation
buttonBackColor Method
The button's background color.
Gets or sets the button's background color.
Syntax
var instance = new GcSpread.Sheets.ButtonCellType();
var returnValue; // Type: string
returnValue = instance.buttonBackColor(value);
function buttonBackColor( 
   value : string
) : string;

Parameters

value
The button's background color.

Return Value

The background color.
Example
This example creates a button cell.
var cellType = new GcSpread.Sheets.ButtonCellType();
cellType.buttonBackColor("#FFFF00");
cellType.text("this is a button");
activeSheet.getCell(0, 2).cellType(cellType);
Remarks
The default value is null, which specifies to use the default line gradient color.
See Also

Reference

ButtonCellType class

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.