[]
        
(Showing Draft Content)

GC.Spread.Sheets.ConditionalFormatting.CustomValueType

枚举: CustomValueType

Sheets.ConditionalFormatting.CustomValueType

自定义值类型

代码示例

var nCondition = new GC.Spread.Sheets.ConditionalFormatting.Condition(GC.Spread.Sheets.ConditionalFormatting.ConditionType.formulaCondition, {compareType: GC.Spread.Sheets.ConditionalFormatting.CustomValueType.nonEmpty});
var validator = new GC.Spread.Sheets.DataValidation.DefaultDataValidator(nCondition);
validator.ignoreBlank(false);
activeSheet.getCell(0, 0, GC.Spread.Sheets.SheetArea.viewport).validator(validator);
spread.options.highlightInvalidData = true;

Table of contents

枚举值成员

枚举值成员

empty

empty = 0

单元格值是否为empty还是null


error

error = 2

单元格值是否包含计算错误


formula

formula = 4

单元格值是否为公式


nonEmpty

nonEmpty = 1

单元格值是否不为empty或null


nonError

nonError = 3

单元格值是否不包含计算错误