How to display a different text boolean json?

Hello ,

Hope everyone is doing well !

I have a table with a column of boolean values . I need those values to display a different text.
i was able to display as true or false with this binding {{Boolean(currentRow.Nat)}} , But i would like it to display instead of true = natural and instead of false = synth .

help is greatly appreciated . Thank you

@Dameats You can use

{{currentRow.Nat == "true" ? "natural" : "synth"}}

2 Likes

as always thank you so much worked like a charm

1 Like