How to set border with formula

When setting a border with a formula/binding, what are the parameters that are needed/how do I set it?

Also, is there documentation somewhere that I would have been able to figure this out on my own? Like a document showing all of the variables/inputs/etc?

1 Like

There is documentation here but it’s a work in progress and you wouldn’t have found this there :slight_smile: Will add it now!

For this specific use case, any of these will work:

  • "3px solid red"
  • "double"
  • "4px dotted #7e3c7e"

What’s important is that you pass a string with a recognizable CSS value for the border property as you would here:

Does that help?

1 Like

Thanks Joyce, you rock!

Yes, I was trying it with something like {style:solid, width:1px, color: #33333}. Wasnt working :slight_smile:

Can you also use a variable from your database to make border color change on value from record?

Nevermind found how you can do it.