Need a special offer?Find out if your project fits.
+
All documentation
API reference
  • API Reference for older versions
  • getCondition

    getCondition(id: String): ConditionalFormatObject

    [starting from version: 1.6]

    Returns a conditional formatting rule by id. You may need this API call to edit the existing conditional formatting rule.

    Parameters

    Parameter/Type Description
    id
    String
    The id of the condition.

    Returns

    ConditionalFormatObject that describes the conditional formatting rule.

    Example

    To get the conditional formatting rule by id use getCondition(), as follows:

    let id = "9";
    let condition = flexmonster.getCondition(id);

    Open the example on JSFiddle.

    See also

    addCondition
    getAllConditions
    removeCondition
    removeAllConditions
    Conditional formatting guide