Conditional Formatting for Color of Cells in a Related List
<table>
<thead>
<tr>
<th>id</th>
<th>amount</th>
<th>amountrender</th>
</tr>
</thead>
<tbody><!--{{!
<lineitemsSOQL>
<class>none</class>
<soql> select id, amount from opportunity</soql>
<column prefix="<tr><td bgcolor='yellow'>" postfix="</td>">amount</column>
<column type="rtf" render="RECORD.amount >= 350000, lt#td bgcolor='blue' gt#RECORD.amount lt#/tdgt#,lt#td bgcolor='green'gt#RECORD.amount lt#/tdgt#"></column>
<column prefix="<td>" postfix="</td></tr>">amount</column>
</lineitemsSOQL>
}}-->
</tbody>
</table>Last updated
Was this helpful?

