SpreadJS 14
Features / Cells / Cell Types / Button Cell
In This Topic
    Button Cell
    In This Topic

    You can display a button in a cell using the button cell. You can also set appearance properties such as color and text.

    Cell button

    Using Code

    This example creates a button cell and sets the cell backcolor.

    Copy Code
    var cellType = new GC.Spread.Sheets.CellTypes.Button();
    cellType.text("this is a button");
    activeSheet.getCell(0, 2).cellType(cellType);
    See Also