Get Free Trial
API reference
Table of contents

getAllConditions

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.

Each element in the array is a ConditionalFormatObject.

Example

To get all the conditional formatting rules of the report use getAllConditions(), as follows:

let conditions = flexmonster.getAllConditions();

Try the example on JSFiddle.

See also

addCondition
getCondition
removeCondition
removeAllConditions
Conditional formatting guide