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

Parameters

value
The priority of the rule.

Return Value

If no value is set, returns the priority of the rule; otherwise, returns the condition rule.
Remarks

The value returned is used to determine which format should be evaluated and rendered. Lower numeric values have a higher priority than higher numeric values. The highest priority is 1.

See Also

Reference

ConditionRuleBase type