SpreadJS Documentation
CheckBoxTextAlign Enumeration
Specifies the text alignment for check box cells.
Members
MemberDescription
bottomSpecifies text is below the check box.
leftSpecifies text is to the left of the check box.
rightSpecifies text is to the right of the check box.
topSpecifies text is on top of the check box.
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.CheckBoxTextAlign

See Also

Reference

GcSpread.Sheets Namespace

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.