SpreadJS 13
GC.Spread.Sheets.ConditionalFormatting Namespace / ScaleRule class / evaluate Method
The evaluator.
The row index.
The column index.
The actual value object for evaluation.
In This Topic
    evaluate Method
    In This Topic
    Returns a specified value of the rule if the cell satisfies the condition.
    Syntax
    var instance = new GC.Spread.Sheets.ConditionalFormatting.ScaleRule();
    var value; // Type: string
    value = instance.evaluate(evaluator, baseRow, baseColumn, actual);
    function evaluate( 
       evaluator : Object,
       baseRow : number,
       baseColumn : number,
       actual : Object
    ) : string;

    Parameters

    evaluator
    The evaluator.
    baseRow
    The row index.
    baseColumn
    The column index.
    actual
    The actual value object for evaluation.

    Return Value

    A specified value of the rule if the cell satisfies the condition.
    See Also

    Reference

    ScaleRule class