getAllConditions(): Array
Returns a list of conditional formatting rules of the report. You may need this API call to edit existing conditional formatting rules.
Array of ConditionalFormatObjects that describe the conditional formatting rules.
let conditions = pivot.getAllConditions();
Try the example on JSFiddle.
addCondition()
getCondition()
removeCondition()
removeAllConditions()
Conditional formatting guide