SpreadJS Documentation
ignoreBlank Field
Specifies whether to ignore the blank cell.
Syntax
var instance = new GcSpread.Sheets.UniqueCondition(duplicated, ranges);
var value; // Type: boolean
value = instance.ignoreBlank;
var ignoreBlank : boolean;
Example
This example sets the ignoreBlank property.
var nCondition = new GcSpread.Sheets.UniqueCondition();
nCondition.expected = true;
nCondition.ignoreBlank = true;
nCondition.ranges = GcSpread.Sheets.Range(0, 5, 1, 1);
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);
See Also

Reference

UniqueCondition type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.