Spread.Sheets Documentation
CustomValueType Field
GC.Spread.Sheets Namespace > ConditionalFormatting type : CustomValueType Field
Specifies the custom value type.
Syntax
var value; // Type: CustomValueType
value = GC.Spread.Sheets.ConditionalFormatting.CustomValueType;
var CustomValueType : CustomValueType;
Example
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;
See Also

Reference

ConditionalFormatting type