SpreadJS Documentation
evaluate Method
GC.Spread.Sheets.ConditionalFormatting Namespace > ScaleRule class : evaluate Method
The evaluator.
The row index.
The column index.
The actual value object for evaluation.
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