dynamically change related list line color

Yvan1
Tera Contributor

I'm trying to dynamically updated a related list line graphically (bolding text, background color, text color, icon in display value etc.) based on a field value for the entry.

 

I know with g_form you can grab a label of a field and style it, but I'm not finding anything obviously similar that expressly says it will work with Related Lists.

Has anyone seen anything like that done elsewhere or is this just not a thing that can be done?

5 REPLIES 5

Saurav11
Kilo Patron
Kilo Patron
Hello, Can you share the screenshot to where uoubare trying to change color

Yvan1
Tera Contributor

For example lets say I want to style the line outlined in pink because the Category is "Inquiry/Help" (change the background color, text color, etc.) find_real_file.png

(Please ignore the read arrow and box, this is a portion of an image from the documentation Add incidents by same caller related list )

 

I know it can be done on labels in a form, but I have no idea how to get the object for the line in the related list or if it's even possible.

Hello,

You cna achive it for Individual fields on the list view like below:-

find_real_file.png

The complete row is not possible. maybe you can make the Category field itself pink for "Inquiry/Help" so it stands out.

 

Please mark answer correct/helpful based on Impact.

Thanks.

Yvan1
Tera Contributor

But how do I effect the Related List fields?