SpreadJS Documentation
DefaultDataValidator type
Represents a data validator.
Syntax
var instance = new GcSpread.Sheets.DefaultDataValidator(condition);
function DefaultDataValidator;
Inheritance Hierarchy

Object
   GcSpread.Sheets.DefaultDataValidator

Constructors
 NameDescription
public ConstructorDefaultDataValidator ConstructorRepresents a data validator.  
Top
Fields
 NameDescription
public FieldcomparisonOperatorIndicates the comparison operator.  
public FieldconditionIndicates the condition to validate.  
public FielderrorMessageIndicates the error message.  
public FielderrorStyleIndicates the error style to display.  
public FielderrorTitleIndicates the error title.  
public FieldignoreBlankIndicates whether to ignore an empty value.  
public FieldinCellDropdownIndicates whether to display a drop-down button.  
public FieldinputMessageIndicates the input message.  
public FieldinputTitleIndicates the input title.  
public FieldshowErrorMessageIndicates whether to display an error message.  
public FieldshowInputMessageIndicates whether to display the input title and input message.  
public FieldtypeIndicates the criteria type of this data validator.  
Top
Methods
 NameDescription
public Methodstatic (Shared in Visual Basic)createDateValidatorCreates a validator based on the data.  
public Methodstatic (Shared in Visual Basic)createFormulaListValidatorCreates a validator based on a formula list.  
public Methodstatic (Shared in Visual Basic)createFormulaValidatorCreates a validator based on a formula.  
public Methodstatic (Shared in Visual Basic)createListValidatorCreates a validator based on a list.  
public Methodstatic (Shared in Visual Basic)createNumberValidatorCreates a validator based on numbers.  
public Methodstatic (Shared in Visual Basic)createTextLengthValidatorCreates a validator based on text length.  
public MethodgetValidListReturns the valid data lists if the Data validation type is list; otherwise, returns null.  
public MethodIgnoreBlankGets or sets whether to ignore an empty value.  
public MethodisValidDetermines whether the current value is valid.  
public MethodresetResets the data validator.  
public Methodvalue1Gets the first value of the data validation.  
public Methodvalue2Gets the second value of the data validation.  
Top
See Also

Reference

GcSpread.Sheets Namespace
Using Data Validation

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.