SpreadJS 14
GC.Spread.Sheets.DataValidation Namespace / DefaultDataValidator type / type Method
The criteria type of this data validator.
In This Topic
    type Method
    In This Topic
    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