SpreadJS 14
GC.Spread.Sheets.CellTypes Namespace / CheckBox class
In This Topic
    CheckBox class
    In This Topic
    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.CheckBox

    Constructors
     NameDescription
    public ConstructorRepresents a check box cell.  
    Top
    Methods
     NameDescription
    public MethodGets or sets a value that indicates the check box size  
    public MethodGets or sets the caption of the cell type.  
    public MethodGets or sets a value that indicates whether the check box supports three states.  
    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.  
    Top
    See Also