How to change background colour of field on list view ?

sumanthkumar
Giga Contributor

Currently the list view is appearing as 'Dot' shown below , but I am looking to change to background colour as an example shown below

find_real_file.png

find_real_file.png

I have configured the dictionary style on incident field with value : javascript:(current.assigned_to.user_name!=current.sys_updated_by && current.sys_updated_by != 'system' && current.incident_state <7)

and Style as:

font-weight: bold;

background-color:DodgerBlue;

This has only changed on form view but not on list view. Firstly I want to remove the Dot and replace with background colour, please advise if you have any idea ?

Thanks,

1 ACCEPTED SOLUTION

Gowrisankar Sat
Tera Guru

Uncheck Modern Cell Coloring and try.


pastedImage_1.png


View solution in original post

7 REPLIES 7

Dave65
Tera Contributor

I just read this post and I found an issue with unchecking the "Nodern cell coloring" checkbox. That has a global effect, not just on the table you are on but on all tables. At least it had an effect on Problem as well as on Incident.

n_16
Tera Contributor

Hi Dave,

 

I have also same issue, If i uncheck "modern cell coloring" it will effect global. is there any alternate way to apply colour on single table?

 

Thanks in advance

Not sure f this addresses your issue.

Have you looked at "field styles" 

JamesKailukai1_0-1676658954720.png

You can do by table and field

JamesKailukai1_1-1676659025521.png

For the Value you can use the simply set it based on the field or you can include JavaScript

JamesKailukai1_2-1676659095034.png