☝️Small business or a startup? See if you qualify for our special offer.
+
All documentation

getCondition

getCondition(id: String): ConditionalFormatObject

Returns a conditional formatting rule by id. You may need this API call to edit the existing conditional formatting rule.

Parameters

Parameter/TypeDescription
id
String
The id of the condition.

Returns

ConditionalFormatObject that describes the conditional formatting rule.

Example

let id = "1";
let condition = pivot.getCondition(id);

Open the example on JSFiddle.

See also

addCondition()
getAllConditions()
removeCondition()
removeAllConditions()
Conditional formatting guide