How To Auto Change Text Color

How can I change negative (-) amounts to a red color that’s based on a dynamic list? This list is a downloaded CSV file that is imported to a database. Some of the amounts have minuses (-) in front of the amount, i.e. -400.99, etc.

Since they are mixed in the output from the CSV, I would like the negative currency to be red.

Is something like this a correct usage:

dmx-style:text-danger.important=“amount.startsWith(”-")"

Community Page
Last updated: