SpreadJS Documentation
type Method
GC.Spread.Sheets.DataValidation Namespace > DefaultDataValidator type : type Method
The criteria type of this data validator.
Gets or sets the criteria type of this data validator.
Syntax
var instance = new GC.Spread.Sheets.DataValidation.DefaultDataValidator(condition);
var returnValue; // Type: any
returnValue = instance.type(value);
function type( 
   value : CriteriaType
) : any;

Parameters

value
The criteria type of this data validator.

Return Value

If no value is set, returns the criteria type of this data validator; otherwise, returns the data validator.
See Also

Reference

DefaultDataValidator type