Class $.wijmo.wijspread.RelationCondition
Constructor Attributes | Constructor Name and Description |
---|---|
$.wijmo.wijspread.RelationCondition(compareType, item1, item2)
Creates a new relation condition with a specified relation type.
|
Method Attributes | Method Name and Description |
---|---|
create(compareType, item1, item2)
Creates a RelationCondition object.
|
|
evaluate(evaluator, baseRow, baseColumn, actualValue1, actualValue2)
Evaluates the relation condition using the specified evaluator.
|
|
reset()
Resets this instance.
|
Class Detail
$.wijmo.wijspread.RelationCondition(compareType, item1, item2)
Creates a new relation condition with a specified relation type.
- Parameters:
- compareType
- The relation between the first and second condition.
- item1
- The first condition.
- item2
- The second condition.
Method Detail
create(compareType, item1, item2)
Creates a RelationCondition object.
- Parameters:
- compareType
- The type of comparison.
- item1
- The first condition.
- item2
- The second condition.
- Returns:
- The RelationCondition object.
evaluate(evaluator, baseRow, baseColumn, actualValue1, actualValue2)
Evaluates the relation condition using the specified evaluator.
- Parameters:
- evaluator
- The evaluator.
- baseRow
- The base row.
- baseColumn
- The base column.
- actualValue1
- The actual value of object1.
- actualValue2
- The actual value of object2.
- Returns:
- true if the result is successful; otherwise, false.
reset()
Resets this instance.