Way to change text alignment in the list view

jobywalker
Giga Contributor

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.

1 ACCEPTED SOLUTION

jobywalker
Giga Contributor

Thanks for the replies. Field Styles (sys_ui_style) is the correct answer but there a a bunch of caveats on this.

View solution in original post

9 REPLIES 9

Thanks Mark 🙂

Appreciate all the help!

Priti Golam1
Tera Expert

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 Roethof
Tera Patron
Tera Patron

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

---

LinkedIn

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Mark Roethof
Tera Patron
Tera Patron

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

---

LinkedIn

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

jobywalker
Giga Contributor

Thanks for the replies. Field Styles (sys_ui_style) is the correct answer but there a a bunch of caveats on this.