How to do conditional formatting dynamically?
I have a requirement where user enters thresholds, currently I am able to achieve using below :
formula: “#value >= 0”,
Since these conditions/thresholds are stored in my Database, so is it possible to make them dynamic?
Note : I am using Angular 8 version.
2. Can I do conditional formatting based on two conditions – one is Calculated value and other from Non-Calculated parameter?
Thank you for writing to us.
- To set the conditions dynamically, please use
setCondition()API call. We have prepared an example for illustration: https://codepen.io/webdatarocks/pen/BaKqLRL.
- We would like to confirm that it is possible. Please have a look at the example with two mentioned conditions added: https://codepen.io/webdatarocks/pen/ZEWqpyx.
Hope it helps.