Change data in Data Table from Instance Definition

Chronos
Tera Contributor

I have a field Total after calculating data in DB, I want to change it to X if less than 100 and O if greater than 100.
Can it be achieved by editing HTML/CSS or server script?
Thanks.

Chronos_0-1709353050229.png

 

1 REPLY 1

Manoj89
Giga Sage

HI Chronos,

 

I assume you are doing it for the Service portal, apply this in your HTML in the row of total

 

<td ng-if="total>100">O</td> //replace total with object where you have stored the value

<td ng-if="total<100">X</td>