SpreadJS Documentation
GeneralComparisonOperators Enumeration
GC.Spread.Sheets.ConditionalFormatting Namespace : GeneralComparisonOperators Enumeration
Specifies the general operator.
Members
MemberDescription
equalsToIndicates whether the number is equal to a specified number.
greaterThanIndicates whether the number is greater than a specified number.
greaterThanOrEqualsToIndicates whether the number is greater than or equal to a specified number.
lessThanIndicates whether the number is less than a specified number.
lessThanOrEqualsToIndicates whether the number is less than or equal to a specified number.
notEqualsToIndicates whether the number is not equal to a specified number.
Example
This example validates the cell data.
spread.options.highlightInvalidData = true;
var dv = new GC.Spread.Sheets.DataValidation.createTextLengthValidator(GC.Spread.Sheets.ConditionalFormatting.ComparisonOperators.greaterThan, 5);
activeSheet.setDataValidator(0, 0, 1, 1, dv, GC.Spread.Sheets.SheetArea.viewport);
activeSheet.setValue(0, 0, "abcf");
Inheritance Hierarchy

Object
   GC.Spread.Sheets.ConditionalFormatting.GeneralComparisonOperators

See Also

Reference

GC.Spread.Sheets.ConditionalFormatting Namespace