本帖最后由 Lynn.Dou 于 2021-12-6 17:27 编辑
怎样调整下拉框的样式呢(宽、高等等这些)
下拉框的实现代码:
var verticalStyle = new GC.Spread.Sheets.Style()
verticalStyle.cellButtons = [
{
imageType: GC.Spread.Sheets.ButtonImageType.dropdown,
command: 'openList',
useButtonStyle: true
}
]
verticalStyle.dropDowns = [
{
type: GC.Spread.Sheets.DropDownType.list,
option: {
multiSelect: false,
items: itemsArray
}
}
]
itemsArray = []
sheet.setStyle(3, 0, verticalStyle)
|
|