Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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

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

JavaScript

Copy Code

var cellType = new GC.Spread.Sheets.CellTypes.Button();cellType.buttonBackColor("#FFFF00");cellType.text("this is a button");activeSheet.getCell(0, 2).cellType(cellType);

 

See Also
Button class

  • No labels