用HTMLCellType 实现的上下标的格子
发现自定义条件格式的样式不能叠加在这个格子上。
ConditionRule.prototype.evaluate = function (sheet, row, col, actual) {
var style = new GC.Spread.Sheets.Style();
var bingingPath = sheet.getCell(row,col).bindingPath();
var tag = sheet.getTag(row, col);
if(operateType=="0")
if(bingingPath){
style.watermark = '◤';
style.cellPadding = "1";
style.labelOptions = { foreColor: 'red',
visibility: 0,
font: '10px Arial',
margin: '0px 0px 0px 0px'};
}
|
|