SpreadJS 14
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.
In This Topic
    evaluate Method
    In This Topic
    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