Spread.Sheets Documentation
ComparisonOperators Field
GC.Spread.Sheets Namespace > ConditionalFormatting type : ComparisonOperators Field
Specifies the comparison operator.
Syntax
var value; // Type: ComparisonOperators
value = GC.Spread.Sheets.ConditionalFormatting.ComparisonOperators;
var ComparisonOperators : ComparisonOperators;
Example
spread.options.highlightInvalidData = true;
var dv = GC.Spread.Sheets.DataValidation.createDateValidator(GC.Spread.Sheets.ConditionalFormatting.ComparisonOperators.between, new Date(2012, 11, 31), new Date(2013, 11, 31));
dv.showInputMessage(true);
dv.inputMessage("Enter a date between 12/31/2012 and 12/31/2013.");
dv.inputTitle("Tip");
activeSheet.getCell(1, -1).validator(dv);
See Also

Reference

ConditionalFormatting type