All documentation
  • API Reference for older versions
  • 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.

    Returns

    Array of ConditionalFormatObjects that describe the conditional formatting rules.

    Example

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

    let conditions = pivot.getAllConditions();

    Try the example on JSFiddle.

    See also

    addCondition
    getCondition
    removeCondition
    removeAllConditions
    Conditional formatting guide