SpreadJS Documentation
CheckBox Method
GC.Spread.Sheets Namespace > CellTypes type : CheckBox Method
Represents a check box cell.
Syntax
var value; // Type: any
value = GC.Spread.Sheets.CellTypes.CheckBox();
function CheckBox() : any;
Example
//This example creates a check box cell.
var cellType1 = new GC.Spread.Sheets.CellTypes.CheckBox();
cellType1.caption("caption");
cellType1.textTrue("true");
cellType1.textFalse("false");
cellType1.textIndeterminate("indeterminate");
cellType1.textAlign(GC.Spread.Sheets.CellTypes.CheckBoxTextAlign.bottom);
cellType1.isThreeState(true);
activeSheet.getCell(1, 1).cellType(cellType1);
See Also

Reference

CellTypes type