var spreadNS = GC.Spread.Sheets;
var sheet1 = spread.getSheet(0);
sheet1.name("刹车盘计划表");
var columnStyle = new spreadNS.Style();
columnStyle.backColor = "LightGoldenrodYellow";
sheet1.setStyle(-1, 18, columnStyle, spreadNS.SheetArea.viewport);
sheet1.setStyle(-1, 19, columnStyle, spreadNS.SheetArea.viewport);
sheet1.setStyle(-1, 20, columnStyle, spreadNS.SheetArea.viewport);
sheet1.setStyle(-1, 21, columnStyle, spreadNS.SheetArea.viewport);
sheet1.setStyle(-1, 22, columnStyle, spreadNS.SheetArea.viewport);
目前只是给18,19 设置了背景颜色超过20 设置背景颜色不成功?什么情况?
|
|