SpreadJS Documentation
condition Method
GC.Spread.Sheets.DataValidation Namespace > DefaultDataValidator type : condition Method
The condition to validate.
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

Reference

DefaultDataValidator type