SpreadJS Documentation
condition Method
GC.Spread.Sheets.ConditionalFormatting Namespace > ConditionRuleBase type : condition Method
The base condition of the rule.
Gets or sets the base condition of the rule.
Syntax
var instance = new GC.Spread.Sheets.ConditionalFormatting.ConditionRuleBase(ruleType, style, ranges);
var returnValue; // Type: any
returnValue = instance.condition(value);
function condition( 
   value : object
) : any;

Parameters

value
The base condition of the rule.

Return Value

If no value is set, returns the base condition of the rule; otherwise, returns the condition rule.
See Also

Reference

ConditionRuleBase type