Class $.wijmo.wijspread.ConditionRuleBase
Constructor Attributes | Constructor Name and Description |
---|---|
Constructs a formatting base rule as the specified style.
|
Field Attributes | Field Name and Description |
---|---|
Indicates the base condition of the rule.
|
|
Gets the cell range collection for the rule.
|
|
Gets or sets the style for the rule.
|
Method Attributes | Method Name and Description |
---|---|
contains(row, column)
Determines whether the range of cells contains the cell at the specified row and column.
|
|
Creates conditions for the rule.
|
|
evaluate(evaluator, baseRow, baseColumn, actual)
Returns the cell style of the rule if the cell satisfies the condition.
|
|
Gets the style of the base rule.
|
|
Initial condition for the rule.
|
|
reset()
Resets the rule.
|
Class Detail
$.wijmo.wijspread.ConditionRuleBase(style)
Constructs a formatting base rule as the specified style.
- Parameters:
- {$.wijmo.wijspread.Style} style
- The style for the rule.
Field Detail
condition
Indicates the base condition of the rule.
ranges
Gets the cell range collection for the rule.
style
Gets or sets the style for the rule.
Method Detail
contains(row, column)
Determines whether the range of cells contains the cell at the specified row and column.
- Parameters:
- {number} row
- The row index.
- {number} column
- The column index.
createCondition()
Creates conditions for the rule.
evaluate(evaluator, baseRow, baseColumn, actual)
Returns the cell style of the rule if the cell satisfies the condition.
- Parameters:
- {object} evaluator
- The object that can evaluate a condition.
- {number} baseRow
- The row index.
- {number} baseColumn
- The column index.
- {object} actual
- The actual value.
getExpected()
Gets the style of the base rule.
initCondition()
Initial condition for the rule.
reset()
Resets the rule.