SpreadJS Documentation
CheckBoxCellType class
Represents a check box cell.
Syntax
var instance = new GcSpread.Sheets.CheckBoxCellType();
function CheckBoxCellType;
Example
This example creates a check box cell.
var cellType1 = new GcSpread.Sheets.CheckBoxCellType();
cellType1.caption("caption");
cellType1.textTrue("true");
cellType1.textFalse("false");
cellType1.textIndeterminate("indeterminate");
cellType1.textAlign(GcSpread.Sheets.CheckBoxTextAlign.bottom);
cellType1.isThreeState(true);
activeSheet.getCell(1, 1).cellType(cellType1);
Inheritance Hierarchy

Object
   GcSpread.Sheets.TextCellType
      GcSpread.Sheets.CheckBoxCellType

Constructors
 NameDescription
public ConstructorCheckBoxCellType ConstructorRepresents a check box cell.  
Top
Fields
 NameDescription
public FieldtypeName (Inherited from GcSpread.Sheets.BaseCellType)
Top
Methods
 NameDescription
public MethodactivateEditor (Inherited from GcSpread.Sheets.BaseCellType)
public MethodcaptionGets or sets the caption of the cell type.  
public MethodcreateEditorElement (Inherited from GcSpread.Sheets.BaseCellType)
public MethoddeactivateEditor (Inherited from GcSpread.Sheets.BaseCellType)
public Methodfocus (Inherited from GcSpread.Sheets.BaseCellType)
public Methodformat (Inherited from GcSpread.Sheets.BaseCellType)
public MethodgetAutoFitHeight (Inherited from GcSpread.Sheets.BaseCellType)
public MethodgetAutoFitWidth (Inherited from GcSpread.Sheets.BaseCellType)
public MethodgetEditorValue (Inherited from GcSpread.Sheets.BaseCellType)
public MethodgetHitInfo (Inherited from GcSpread.Sheets.BaseCellType)
public MethodisEditingValueChanged (Inherited from GcSpread.Sheets.BaseCellType)
public MethodisImeAware (Inherited from GcSpread.Sheets.BaseCellType)
public MethodisReservedKey (Inherited from GcSpread.Sheets.BaseCellType)
public MethodisThreeStateGets or sets a value that indicates whether the check box supports three states.  
public Methodpaint (Inherited from GcSpread.Sheets.BaseCellType)
public Methodparse (Inherited from GcSpread.Sheets.BaseCellType)
public MethodprocessKeyDown (Inherited from GcSpread.Sheets.BaseCellType)
public MethodprocessKeyUp (Inherited from GcSpread.Sheets.BaseCellType)
public MethodprocessMouseDown (Inherited from GcSpread.Sheets.BaseCellType)
public MethodprocessMouseEnter (Inherited from GcSpread.Sheets.BaseCellType)
public MethodprocessMouseLeave (Inherited from GcSpread.Sheets.BaseCellType)
public MethodprocessMouseMove (Inherited from GcSpread.Sheets.BaseCellType)
public MethodprocessMouseUp (Inherited from GcSpread.Sheets.BaseCellType)
public MethodselectAll (Inherited from GcSpread.Sheets.BaseCellType)
public MethodsetEditorValue (Inherited from GcSpread.Sheets.BaseCellType)
public MethodtextAlignGets or sets the text alignment relative to the check box.  
public MethodtextFalseGets or sets the text in the cell when the cell's value is false.  
public MethodtextIndeterminateGets or sets the text in the cell when the cell's value is indeterminate (neither true nor false).  
public MethodtextTrueGets or sets the text in the cell when the cell's value is true.  
public MethodupdateEditor (Inherited from GcSpread.Sheets.BaseCellType)
public MethodupdateImeMode (Inherited from GcSpread.Sheets.BaseCellType)
Top
See Also

Reference

GcSpread.Sheets Namespace
Setting a Check Box Cell

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.