All documentation
  • API Reference for older versions
  • removeCondition

    removeCondition(id: String)

    [starting from version: 1.5]

    Removes the conditional formatting rule by id.

    Use refresh() API call after to redraw the component and see changes.

    Parameters

    Parameter/TypeDescription
    id
    String
    The id of the conditional formatting rule.

    Example

    To remove the conditional formatting rule by id use removeCondition(), as follows:

    var id = 1;
    pivot.removeCondition(id);
    pivot.refresh();

    Check out on JSFiddle.

    See also

    addCondition
    getCondition
    getAllConditions
    removeAllConditions
    refresh
    Conditional formatting guide