Class Index

Classes


Class $.wijmo.wijspread.CellValueRule


Extends $.wijmo.wijspread.ConditionRuleBase.

Class Summary
Constructor Attributes Constructor Name and Description
 
Creates a CellValueRule object.
Fields borrowed from class $.wijmo.wijspread.ConditionRuleBase:
condition, ranges, style
Method Summary
Method Attributes Method Name and Description
 
Creates conditions for the rule.
 
Resets the rule.
Methods borrowed from class $.wijmo.wijspread.ConditionRuleBase:
contains, createCondition, evaluate, getExpected, initCondition, reset
Class Detail
$.wijmo.wijspread.CellValueRule()
Creates a CellValueRule object.
var style = new $.wijmo.wijspread.Style();
style.backColor = "red";
var rule = new $.wijmo.wijspread.CellValueRule($.wijmo.wijspread.ComparisonOperator.Between,2,100,style);
rule.ranges=[new $.wijmo.wijspread.Range(0,0,5,1)];
sheet.getConditionalFormats().addRule(rule);
sheet.setValue(0,0,1,3);
sheet.setValue(1,0,45,3);
Method Detail
CellValueRule#createCondition()
Creates conditions for the rule.

CellValueRule#reset()
Resets the rule.

©2013. ComponentOne, a division of GrapeCity. All Rights Reserved.