SpreadJS Documentation
DuplicateRule class
Represents a duplicate conditional rule.
Syntax
var instance = new GcSpread.Sheets.DuplicateRule(style);
function DuplicateRule;
Example
This example creates a duplicate rule.
var style = new GcSpread.Sheets.Style();
style.backColor = "red";
var rule = new GcSpread.Sheets.DuplicateRule(style);
rule.ranges=[new GcSpread.Sheets.Range(0,0,10,1)];
sheet.getConditionalFormats().addRule(rule);
sheet.setValue(0, 0, 50);
sheet.setValue(1, 0, 50);
sheet.setValue(2, 0, 11);
sheet.setValue(3, 0, 5);
Inheritance Hierarchy

Object
   GcSpread.Sheets.ConditionRuleBase
      GcSpread.Sheets.DuplicateRule

Constructors
 NameDescription
public ConstructorDuplicateRule ConstructorRepresents a duplicate conditional rule.  
Top
Fields
 NameDescription
public Fieldranges (Inherited from GcSpread.Sheets.ConditionRuleBase)
public Fieldstyle (Inherited from GcSpread.Sheets.ConditionRuleBase)
Top
Methods
 NameDescription
public Methodcontains (Inherited from GcSpread.Sheets.ConditionRuleBase)
public Methodevaluate (Inherited from GcSpread.Sheets.ConditionRuleBase)
public MethodgetExpected (Inherited from GcSpread.Sheets.ConditionRuleBase)
public Methodintersects (Inherited from GcSpread.Sheets.ConditionRuleBase)
public Methodpriority (Inherited from GcSpread.Sheets.ConditionRuleBase)
public Methodreset (Inherited from GcSpread.Sheets.ConditionRuleBase)
public MethodstopIfTrue (Inherited from GcSpread.Sheets.ConditionRuleBase)
Top
See Also

Reference

GcSpread.Sheets Namespace

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.