- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-30-2016 09:59 AM
Anyone know how I can align my list view to display as centered for some columns?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-30-2016 10:16 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-30-2016 10:16 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-30-2016 10:39 AM
Field styles are specific to the field, regardless of the view. You could make the field style conditional based on the view, but it will require a bit of scripting to retrieve the view to decide whether to apply it or not. The "value" field on the field style just has to evaluate to true in the end. You can call a function to determine "is it time to do this formatting?" like this:
Value: javascript:callMyFunction(current);
This might help you get your hands on the view (sysparm_view) parameter. Community Code Snippets: Getting the User's View
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2017 11:11 PM
Hey Chuck,
I just wanted to know if there's any option where we could actually do the same for all fields i.e. globally or may be table specific.
Instead of just specifying the properties for a single field of a table?
Thanks,
Manu

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2017 05:55 AM
Sorry Manu. There is no global setting for field styles at this point (Istanbul). If you feel it is an important feature... I invite you to open an enhancement request! Our product managers DO listen.
Enhancement requests: Tell us how you would improve the ServiceNow product