[]
        
首页
开发者学堂
文档
论坛
市场
生态机会
活动
在线咨询 立即试用
(Showing Draft Content)

GC.Spread.Sheets.CellTypes.Direction

Enumeration: Direction

Sheets.CellTypes.Direction

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

example

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

Enumeration members

Enumeration members

horizontal

• horizontal = 0

指定项目水平扩展。


vertical

• vertical = 1

指定项目垂直扩展。