SpreadJS Documentation
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.
The actual value of object2 for evaluation.
Evaluates the condition using the specified evaluator.
Syntax
var instance = new GcSpread.Sheets.RelationCondition(compareType, item1, item2);
var value; // Type: boolean
value = instance.evaluate(evaluator, baseRow, baseColumn, actualValue1, actualValue2);
function evaluate( 
   evaluator : object,
   baseRow : number,
   baseColumn : number,
   actualValue1 : object,
   actualValue2 : 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.
actualValue1
The actual value of object1 for evaluation.
actualValue2
The actual value of object2 for evaluation.

Return Value

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

Reference

RelationCondition type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.