SpreadJS Documentation
isValid Method
GC.Spread.Sheets.DataValidation Namespace > DefaultDataValidator type : isValid Method
The evaluator.
The base row.
The base column.
The current value.
Determines whether the current value is valid.
Syntax
var instance = new GC.Spread.Sheets.DataValidation.DefaultDataValidator(condition);
var value; // Type: boolean
value = instance.isValid(evaluator, baseRow, baseColumn, actual);
function isValid( 
   evaluator : object,
   baseRow : number,
   baseColumn : number,
   actual : object
) : boolean;

Parameters

evaluator
The evaluator.
baseRow
The base row.
baseColumn
The base column.
actual
The current value.

Return Value

true if the value is valid; otherwise, false.
See Also

Reference

DefaultDataValidator type