0

How to style a numeric fields?

Good morning!

I've had issues with the styled() function these days and after having read several articles in the forum: it seems that the stlyed() function converts the variable to text. What a pity!

In my table, I'd like to format numbers according to different criteria, while having the possibility of summing the column, for example. However, as soon as I use the styled() function, the cells are interpreted as text. Has anyone here figured out how to styled numeric fields?

(as other have already said in other articles: are you listening Ninox?) 😉

2 replies

null
    • Sean
    • 1 yr ago
    • Reported - view

    Hello,

    Have you tried Add conditional formatting? Click on a table header to bring up this menu...

    I haven't tried all field types, but it works for Text, Number and Date types.

    • Stef
    • 1 yr ago
    • Reported - view

    Thanks for your answer! Yes I've tried it and it works if the conditional formatting is related to the value of this specific field. But the styled() function allows me to style the value with complex conditions. Your solution is helpful for some limited cases and I wish that Ninox hears the need of complex styling :)

Content aside

  • 1 yr agoLast active
  • 2Replies
  • 149Views
  • 2 Following