I've read this question here about multiple if blocks inside a template, but my question is a little different. I'm needed a nested if, so more like: {{if condition}}
<html>
{{if anotherCondition}}
<added html>
{{/if}}
If this is the same answer as the other, just let me know. My use case is I'm needing to format the color and add a symbol to a cell with independent conditions. so basically if cellValue == 'this': color it red, and if cellValueOfADifferentCellInSameRow == 'somethingElse', then add a symbol next to the template in the cell. I'm using a template for the color right now, and tried using a formatter for the other condition, but the formatter and template don't play together.Any suggestions?
Thanks,
Erik
Hello Erik,
Thank you for posting in our community.
I was looking further into your requirement I found this thread in our forum stating that sequential if statements are not supported. However, I believe using nested if/else statements can help you achieve your requirement.
Please have a look at the following resource, which I believe you might consider helpful and let me know if you need any further assistance with this matter.
Do not hesitate to contact us if you have any additional questions.