SpreadJS Documentation
evaluate Method
GC.Spread.Sheets.ConditionalFormatting Namespace > Condition type : evaluate Method
The evaluator that can evaluate an expression or a function.
The base row index for evaluation.
The base column index for evaluation.
The actual value of object1 for evaluation.
Evaluates the condition using the specified evaluator.
Syntax
var instance = new GC.Spread.Sheets.ConditionalFormatting.Condition(conditionType, args);
var value; // Type: boolean
value = instance.evaluate(evaluator, baseRow, baseColumn, actualObj);
function evaluate( 
   evaluator : object,
   baseRow : number,
   baseColumn : number,
   actualObj : object
) : boolean;

Parameters

evaluator
The evaluator that can evaluate an expression or a function.
baseRow
The base row index for evaluation.
baseColumn
The base column index for evaluation.
actualObj
The actual value of object1 for evaluation.

Return Value

true if the result is successful; otherwise, false.
See Also

Reference

Condition type