SpreadJS Documentation
CheckBox class
GC.Spread.Sheets.CellTypes Namespace : CheckBox class
Represents a check box cell.
Syntax
var instance = new GC.Spread.Sheets.CellTypes.CheckBox();
function CheckBox;
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);
Inheritance Hierarchy

Object
   GC.Spread.Sheets.CellTypes.Base
      GC.Spread.Sheets.CellTypes.CheckBox

Constructors
 NameDescription
public ConstructorRepresents a check box cell.  
Top
Fields
 NameDescription
public Field (Inherited from GC.Spread.Sheets.CellTypes.Base)
Top
Methods
 NameDescription
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodGets or sets the caption of the cell type.  
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodGets or sets a value that indicates whether the check box supports three states.  
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodGets or sets the text alignment relative to the check box.  
public MethodGets or sets the text in the cell when the cell's value is false.  
public MethodGets or sets the text in the cell when the cell's value is indeterminate (neither true nor false).  
public MethodGets or sets the text in the cell when the cell's value is true.  
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
Top
See Also

Reference

GC.Spread.Sheets.CellTypes Namespace
Setting a Check Box Cell