GcSpread.Sheets Namespace > DateCondition type : ignoreBlank Field |
var instance = new GcSpread.Sheets.DateCondition(compareType, expected, formula); var value; // Type: boolean value = instance.ignoreBlank;
var ignoreBlank : boolean;
var nCondition = new GcSpread.Sheets.DateCondition(GcSpread.Sheets.DateCompareType.Before, new Date(2012, 11, 31)); nCondition.ignoreBlank = true; var validator = new GcSpread.Sheets.DefaultDataValidator(nCondition) activeSheet.getCell(0, 0, GcSpread.Sheets.SheetArea.viewport).dataValidator(validator); spread.highlightInvalidData(true); activeSheet.setValue(0, 0, new Date(2012, 12, 12));