SpreadJS Documentation
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 GcSpread.Sheets.TwoScaleRule(minType, minValue, minColor, maxType, maxValue, maxColor);
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

TwoScaleRule class

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.