Is there any way to add either a prefix image or text to a cell data?
The below css code theoretically does it but I could not get it to work. Im trying to add a conditional code for cell values under -10 so that the output would change a cell value of "-10" to "ALERT: -10"
Hoping this is a simple question. Can you provide an example for adding color and bold to text in a table column through css? See screenshot
Hi Terry
Thank you for reaching out to us.
You can add a CSS class to the column and then add this in the customize tab in the table settings
I hope this helps, do let us know if you need any further assistance.
Thanks, Blaženka
Is there any way to add either a prefix image or text to a cell data?
The below css code theoretically does it but I could not get it to work. Im trying to add a conditional code for cell values under -10 so that the output would change a cell value of "-10" to "ALERT: -10"
.ref::before {
font-weight: bold;
color: navy;
content: "ALERT: ";
}
You are most welcome
You can achieve this using conditional formatting.
For integer or float columns you can add a rule like this in the column settings/Conditional formatting
and it will replace that value in the column to whatever you set it to be.
I hope this helps, do let us know if you need any further assistance.