Row Coloring

tnni1
Tera Contributor

Hi,

I am working on Incident form List view.   Based on the cell color of priority, i want the whole row to be colored by the same color. Suppose priority is critical i want the whole row to be red.

I do not want to create style for each and every field. Is there any way to do it only once for the whole record, based on priority.

1 ACCEPTED SOLUTION

Hi Tanuja


Field style is a preferred option.


Making the entire row to appear in a color may be possible with DOM manipulation - UI scripts etc. But this is not recommended.


Highlight INCs.jpg


View solution in original post

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Tanuja,



The only option is to have field styles for all the fields   present in list layout and have the color dependent on the value of priority column.


or else you will have to do DOM manipulation which is not recommended.



Regards


Ankur


Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Ankur,


I know it is not recommended, but i was looking for a work around of giving style for each field present.



Regards,


Tanuja


Rajesh Mushke
Mega Sage
Mega Sage

Hi Chand,



Configure Field Style and define style for each value.



find below screen shot,



find_real_file.png




Thanks,
Rajashekhar Mushke
Rising star : 2022 - 2024
Community Leader -2018
Connect me on LinkedIn : Rajashekhar Mushke

Hi Rajesh,


Thank you, But this is not what i am looking for.


From the information given by you, It is coloring only category. But when i want to see the incident in list view, i want all the fields   to be colored "anyColor".



Regards,


Tanuja