getCondition(id: String): ConditionalFormatObject
Returns a conditional formatting rule by id. You may need this API call to edit the existing conditional formatting rule.
Parameter/Type | Description |
---|---|
id String | The id of the condition. |
ConditionalFormatObject that describes the conditional formatting rule.
let id = "1";
let condition = pivot.getCondition(id);
Open the example on JSFiddle.
addCondition()
getAllConditions()
removeCondition()
removeAllConditions()
Conditional formatting guide