SpreadJS 13
GC.Spread.Sheets Namespace / CellRange type / cellButtons Method
the cellButtons of the cell.
In This Topic
    cellButtons Method
    In This Topic
    Gets or sets the cellButtons of the cell.
    Syntax
    var instance = new GC.Spread.Sheets.CellRange(sheet, row, col, rowCount, colCount, sheetArea);
    var returnValue; // Type: any
    returnValue = instance.cellButtons(value);
    function cellButtons( 
       value : undefined
    ) : any;

    Parameters

    value
    the cellButtons of the cell.

    Return Value

    If no value is set, returns the cellButtons of the cell; otherwise, returns the cell.
    Example
    activeSheet.getRange(2,-1, 1, -1, GC.Spread.Sheets.SheetArea.viewport).cellButtons([caption:"Text"]]);
    var cellButtons = activeSheet.getRange(-1, 3, -1, 1, GC.Spread.Sheets.SheetArea.viewport).cellButtons();
    See Also

    Reference

    CellRange type