Menu
Download Free Trial
Table of contents

getCondition

getCondition(id:String):Conditional Format Object

[starting from version: 1.6]

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

Parameters

  • id – id of the condition.

Returns

Conditional Format Object that describes the conditional formatting rule.

Example

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

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

See also

addCondition
getAllConditions
removeCondition
removeAllConditions