- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-12-2019 03:49 PM
When displaying data in the list view there doesn't seem to be a way to manage the left/center/right alignment of fields -- it is just based on the field type. This can result in some very odd results when there is a numeric type of field (right aligned) mixed with other fields (left aligned).
Is there a way to control this? sys_ui_style seems to only impact forms.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2019 11:23 PM
Thanks for the replies. Field Styles (sys_ui_style) is the correct answer but there a a bunch of caveats on this.
- Contrary to the documentation (https://docs.servicenow.com/bundle/london-platform-administration/page/administer/navigation-and-ui/...) if you set no "value" then it applies to the form view and in the list view to empty/null values.
- javascript:true or javascript:1==1 will allow you to apply the style to all non-null values in the list view, but not the form view.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-20-2020 07:54 AM
Thanks Mark 🙂
Appreciate all the help!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-14-2019 09:50 PM
Hello JobyWalker,
You can simply navigate to System UI > Field Styles > New Create new style for which field you want to change text alignment and enter style in that style table.
For Ex if I want to change the caller field text alignment on incident table then i have to create new field style .Take table name as incident , field name as Caller ,value as javascript:1=1,and style as text-align:right
Try this once and If my answer is helpful then please mark it as helpful and correct.
Thanks and regards,
Priti Golam

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-15-2019 08:46 AM
Hi there,
Did this solve your question? Or do we need to follow up on this?
Please mark this answer as correct if it solves your problem. This will help others who are looking for a similar solution. Also marking this answer as correct takes the post of the unsolved list.
Thanks.
Kind regards,
Mark
---
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-17-2019 08:12 AM
Hi there,
Did this solve your question? Or do we need to follow up on this?
Please mark this answer as correct if it solves your problem. This will help others who are looking for a similar solution. Also marking this answer as correct takes the post of the unsolved list.
Thanks.
Kind regards,
Mark
---
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2019 11:23 PM
Thanks for the replies. Field Styles (sys_ui_style) is the correct answer but there a a bunch of caveats on this.
- Contrary to the documentation (https://docs.servicenow.com/bundle/london-platform-administration/page/administer/navigation-and-ui/...) if you set no "value" then it applies to the form view and in the list view to empty/null values.
- javascript:true or javascript:1==1 will allow you to apply the style to all non-null values in the list view, but not the form view.