SpreadJS Documentation
evaluate Method
GC.Spread.Sheets.ConditionalFormatting Namespace > ConditionRuleBase type : evaluate Method
The object that can evaluate a condition.
The row index.
The column index.
The actual value.
Returns the cell style of the rule if the cell satisfies the condition.
Syntax
var instance = new GC.Spread.Sheets.ConditionalFormatting.ConditionRuleBase(ruleType, style, ranges);
var value; // Type: object
value = instance.evaluate(evaluator, baseRow, baseColumn, actual);
function evaluate( 
   evaluator : object,
   baseRow : number,
   baseColumn : number,
   actual : object
) : object;

Parameters

evaluator
The object that can evaluate a condition.
baseRow
The row index.
baseColumn
The column index.
actual
The actual value.

Return Value

The cell style of the rule.
See Also

Reference

ConditionRuleBase type