- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-13-2017 06:51 AM
Dear all,
Is it possible to align text in list views to the center?
In the example below I would like to align the values of Risk, Value and Size to the center.
Thanks for your help and best regards,
Christoph
Solved! Go to Solution.
- Labels:
-
Demand Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-13-2017 07:06 AM
Hi Christoph,
Please try this.
1. Right Click on the Field in the form Layout.
2. Configure Styles.
3. Create a new style.
4. In the Value: javascript:1==1;
4. in the Style: text-align: center;
The thing is the value field for the list view has to be something. I'm not sure if its a bug or not, but if you put something like, "javascript:1==1" everything will evaluate it true.
Thanks,
Rohith

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-13-2017 07:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-13-2017 07:06 AM
Hi Christoph,
Please try this.
1. Right Click on the Field in the form Layout.
2. Configure Styles.
3. Create a new style.
4. In the Value: javascript:1==1;
4. in the Style: text-align: center;
The thing is the value field for the list view has to be something. I'm not sure if its a bug or not, but if you put something like, "javascript:1==1" everything will evaluate it true.
Thanks,
Rohith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-19-2022 01:19 PM
Please help with the similar issue mentioned in this post: https://www.servicenow.com/community/developer-forum/ui-issue-data-is-not-aligned-in-ui-under-the-co...
Thanks,
Anusha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-30-2023 10:40 PM
How can I set column heading to align center