GcSpread.Sheets Namespace > NumberCondition type : compareType Field |
var instance = new GcSpread.Sheets.NumberCondition(compareType, expected, formula); var value; // Type: GeneralCompareType value = instance.compareType;
var compareType : GeneralCompareType;
var nCondition = new GcSpread.Sheets.NumberCondition(); nCondition.compareType = GcSpread.Sheets.GeneralCompareType.GreaterThan; nCondition.expected = 5; var validator = new GcSpread.Sheets.DefaultDataValidator(nCondition) activeSheet.getCell(0, 0, GcSpread.Sheets.SheetArea.viewport).dataValidator(validator); spread.highlightInvalidData(true); activeSheet.setValue(0, 0, 5);