SpreadJS 13
GC.Spread.Sheets.CellTypes Namespace / Direction Enumeration
In This Topic
    Direction Enumeration
    In This Topic
    Specifies the extend direction for radio list cells.
    Members
    MemberDescription
    horizontalSpecifies item extend by horizontal.
    verticalSpecifies item extend by vertical.
    Example
    //This example creates a radio button list cell.
    var cellType2 = new GC.Spread.Sheets.CellTypes.RadioButtonList();
    cellType2.items([{text:"a",value:1},{text:"b",value:2},{text:"c",value:3}]);
    cellType2.direction(GC.Spread.Sheets.CellTypes.Direction.vertical);
    activeSheet.getCell(2, 2).cellType(cellType2);
    Inheritance Hierarchy

    Object
       GC.Spread.Sheets.CellTypes.Direction

    See Also