removeCondition(id: String)
Removes the conditional formatting rule by id.
Use the refresh() API call after to redraw the component and see changes.
Parameter/Type | Description |
---|---|
id String | The id of the conditional formatting rule. |
let id = "1";
pivot.removeCondition(id);
pivot.refresh();
Check out on JSFiddle.
addCondition()
getCondition()
getAllConditions()
removeAllConditions()
refresh()
Conditional formatting guide