SpreadJS Documentation
CheckBoxTextAlign Field
GC.Spread.Sheets Namespace > CellTypes type : CheckBoxTextAlign Field
Specifies the text alignment for check box cells.
Syntax
var value; // Type: CheckBoxTextAlign
value = GC.Spread.Sheets.CellTypes.CheckBoxTextAlign;
var CheckBoxTextAlign : CheckBoxTextAlign;
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