SpreadJS 13
GC.Spread.Sheets.CellTypes Namespace / ButtonList type / selectedBackColor Method
The selected buttonList's background color.
In This Topic
    selectedBackColor Method
    In This Topic
    Gets or sets the selected buttonList's background color.
    Syntax
    var instance = new GC.Spread.Sheets.CellTypes.ButtonList();
    var returnValue; // Type: any
    returnValue = instance.selectedBackColor(value);
    function selectedBackColor( 
       value : string
    ) : any;

    Parameters

    value
    The selected buttonList's background color.

    Return Value

    If no value is set, returns the background color; otherwise, returns the buttonList cell type.
    Example
    //This example creates a buttonList cell.
    var cellType = new GC.Spread.Sheets.CellTypes.ButtonList();
    cellType.selectedBackColor("#FFFF00");
    activeSheet.getCell(0, 2).cellType(cellType);
    See Also

    Reference

    ButtonList type