SpreadJS 13
GC.Spread.Sheets.CellTypes Namespace / TextAlign Enumeration
In This Topic
    TextAlign Enumeration
    In This Topic
    Specifies the text alignment for check box cells.
    Members
    MemberDescription
    leftSpecifies text is on the left.
    rightSpecifies text is on the right.
    Example
    //This example creates a check box cell.
    var cellType = new GC.Spread.Sheets.CellTypes.RadioButtonList();
    cellType.items([{text:"a",value:1},{text:"b",value:2},{text:"c",value:3}]);
    cellType.textAlign(GC.Spread.Sheets.CellTypes.TextAlign.left);
    activeSheet.getCell(2, 2).cellType(cellType);
    Inheritance Hierarchy

    Object
       GC.Spread.Sheets.CellTypes.TextAlign

    See Also