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.
Parameter/Type | Description |
---|---|
id String | The id of the conditional formatting rule. |
To remove the conditional formatting rule by id
use removeCondition()
, as follows:
var id = 1;
pivot.removeCondition(id);
pivot.refresh();
Check out on JSFiddle.
addCondition
getCondition
getAllConditions
removeAllConditions
refresh
Conditional formatting guide