SpreadJS 13
GC.Spread.Sheets.DataValidation Namespace / DefaultDataValidator type / condition Method
The condition to validate.
In This Topic
    condition Method
    In This Topic
    Gets or sets the condition to validate.
    Syntax
    var instance = new GC.Spread.Sheets.DataValidation.DefaultDataValidator(condition);
    var returnValue; // Type: any
    returnValue = instance.condition(value);
    function condition( 
       value : Condition
    ) : any;

    Parameters

    value
    The condition to validate.

    Return Value

    If no value is set, returns the condition to validate; otherwise, returns the data validator.
    See Also