可以通过条件格式去做,当单元格的值为ture时候显示设置的样式
var style = new GC.Spread.Sheets.Style()
style.backColor = "green"
var range = new GC.Spread.Sheets.Range(0, 0, 2, 2)
sheet.conditionalFormats.addCellValueRule(GC.Spread.Sheets.ConditionalFormatting.ComparisonOperators.equalsTo, true, undefined, style, [range])
|