Class Index

Classes


Class $.wijmo.wijspread.SpecificTextRule


Extends $.wijmo.wijspread.ConditionRuleBase.

Class Summary
Constructor Attributes Constructor Name and Description
 
$.wijmo.wijspread.SpecificTextRule(operator, text, style)
Creates a specific text rule based on the specified cell.
Fields borrowed from class $.wijmo.wijspread.ConditionRuleBase:
condition, ranges, style
Method Summary
Method Attributes Method Name and Description
 
Creates a condition for the current rule.
 
Resets the rule.
Methods borrowed from class $.wijmo.wijspread.ConditionRuleBase:
contains, createCondition, evaluate, getExpected, initCondition, reset
Class Detail
$.wijmo.wijspread.SpecificTextRule(operator, text, style)
Creates a specific text rule based on the specified cell.
var style = new $.wijmo.wijspread.Style();
style.backColor = "red";
var rule = new $.wijmo.wijspread.SpecificTextRule($.wijmo.wijspread.TextComparisonOperator.Contains,"test",style);
rule.ranges=[new $.wijmo.wijspread.Range(0,0,10,1)];
sheet.getConditionalFormats().addRule(rule);
sheet.setValue(0, 0, "testing");
sheet.setValue(1, 0, "test");
sheet.setValue(2, 0, "a");
sheet.setValue(3, 0, "t");
Parameters:
operator
The operator.
text
The text.
style
The style.
Method Detail
SpecificTextRule#createCondition()
Creates a condition for the current rule.

SpecificTextRule#reset()
Resets the rule.

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