[]
        
(Showing Draft Content)

GC.Spread.Sheets.CellTypes.Direction

枚举: Direction

Sheets.CellTypes.Direction

指定单选列表单元格的扩展方向

代码示例

//本示例创建一个单选按钮列表单元格
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);

Table of contents

枚举值成员

枚举值成员

horizontal

horizontal = 0

指定项按水平延伸


vertical

vertical = 1

指定项按垂直延伸