changing background color of list view
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2023 11:19 PM - edited 05-28-2023 11:36 PM
Hello developers,
Can we use the modern cell coloring based on table as unchecking this cell is impacting all the tables . I need this background color change of list view for a particluar table.Thanks.
@Ankur Bawiskar any suggestions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2023 02:48 AM
Hi @servicenow14710 ,
Yes, you can use the modern cell coloring based on table. To do this, follow these steps: Go to the list view that you want to change the background color of.
- Click the gear icon in the top right corner of the list view. Select "List Settings". In the "List Settings" dialog, select the "Modern Cell Coloring" checkbox.
- Select the color that you want to use for the background of the list view cells.
- Click "Save".
The background color of the list view cells will now be changed to the color that you selected. If you uncheck the "Modern Cell Coloring" checkbox, the background color of the list view cells will be restored to the default color. Note that unchecking the "Modern Cell Coloring" checkbox will impact all of the tables in the instance. If you only want to change the background color of a particular table, you can use the following steps:
- Navigate to "field styles"
- Create new - select the table name [eg : incident]
- Select the field name [eg : number]
- Give the value i.e the matching conditions [eg:javascript:current.hasAttachments();]
- Use the script in the style [eg : background-color: red]
- Save the record.
Regards,
Shravan
Please mark this as help and correct answer if this helps you
Shravan
Please mark this as helpful and correct answer, if this helps you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2023 04:23 AM - edited 05-29-2023 04:36 AM
@Sai Shravan : Hello sai shravan , i used the field style for sysapproval table of change_request (based on approved/rejected etc.,), but it is impacting the color update to other tables and fileds as well.
Can you please share screenshots of the changes as it is not working for me, as it will be helpful for others too.Thanks so much