本帖最后由 AsIAm 于 2024-4-12 16:22 编辑
设置代码块如下:帮忙看下有什么问题呢
setOption() {
var sheetFrom = this.spread.getSheetFromName("主表");
var radio = new GC.Spread.Sheets.CellTypes.RadioButtonList();
radio.items([
{ text: "111", value: "111" },
{
text: "222",
value: "222",
},
{
text: "333",
value: "333",
},
]);
radio.itemSpacing({
horzontial:180,
vertical:5,
});
radio.boxSize(9);
sheetFrom.setCellType(4, 1, radio, GC.Spread.Sheets.SheetArea.viewport);
},
|