Spread.Sheets Documentation
DefaultDataValidator Constructor
The condition.
Represents a data validator.
Syntax
var instance = new GC.Spread.Sheets.DataValidation.DefaultDataValidator(condition);
function DefaultDataValidator( 
   condition : Condition
) : DefaultDataValidator;

Parameters

condition
The condition.
Example
This example validates the cell data.
spread.options.highlightInvalidData = true;
var dv = new GC.Spread.Sheets.DataValidation.createTextLengthValidator(GC.Spread.Sheets.ConditionalFormatting.ComparisonOperators.greaterThan, 5);
activeSheet.setDataValidator(0, 0, dv);
activeSheet.setValue(0, 0, "abcf");
See Also

Reference

DefaultDataValidator type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.