SpreadJS Documentation
evaluate Method
The evaluator.
The row index.
The column index.
The current value.
Returns the specified value of the rule if the cell meets the condition.
Syntax
var instance = new GcSpread.Sheets.ThreeScaleRule(minType,
                                                 minValue,
                                                 minColor,
                                                 midType,
                                                 midValue,
                                                 midColor,
                                                 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 current value.

Return Value

The specified value of the rule if the cell meets the condition.
See Also

Reference

ThreeScaleRule class

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.