getAllConditions(): Array
[starting from version: 1.6]
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.
To get all the conditional formatting rules of the report use getAllConditions()
, as follows:
let conditions = pivot.getAllConditions();
Try the example on JSFiddle.
addCondition
getCondition
removeCondition
removeAllConditions
Conditional formatting guide