GcSpread.Sheets Namespace > FormulaCondition type : customValueType Field |
var instance = new GcSpread.Sheets.FormulaCondition(customValueType, formula); var value; // Type: CustomValueType value = instance.customValueType;
var customValueType : CustomValueType;
var nCondition = new GcSpread.Sheets.FormulaCondition(); nCondition.customValueType = GcSpread.Sheets.CustomValueType.Formula; nCondition.formula = "A1>0"; var validator = new GcSpread.Sheets.DefaultDataValidator(nCondition) activeSheet.getCell(0, 0, GcSpread.Sheets.SheetArea.viewport).dataValidator(validator); spread.highlightInvalidData(true); activeSheet.setValue(0, 0, -4);