GcSpread.Sheets Namespace > TextCondition type : compareType Field |
var instance = new GcSpread.Sheets.TextCondition(compareType, expected, formula); var value; // Type: TextCompareType value = instance.compareType;
var compareType : TextCompareType;
var nCondition = new GcSpread.Sheets.TextCondition(); nCondition.compareType = GcSpread.Sheets.TextCompareType.Contains; nCondition.expected = "test"; var validator = new GcSpread.Sheets.DefaultDataValidator(nCondition) activeSheet.getCell(0, 0, GcSpread.Sheets.SheetArea.viewport).dataValidator(validator); spread.highlightInvalidData(true); activeSheet.setValue(0, 0, "testing");