center or left align numbers on timesheet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2017 11:33 AM
HI All,
Anyone figured out how to either center or left align your time entries on the timesheet in ServiceNow Istanbul version? When my users are looking at their timesheets, the values are all right aligned.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2017 04:12 AM
put style on fields, select field name
put certain condition in value field like - javascript: current.sys_mod_count >= 0
style -> text-align: left;
center or left align numbers on timesheet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2017 05:22 AM
HI Girish
I am fairly new to SN 6 weeks, would you have any code that can accomplish this. SN tech support said this is not something OOB.
Thanks
Dennis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2017 06:27 AM
ok..no worries, will have to code for it.
Open your respective table, right click on header and click configure -> All
Then it will open a page with lots of sections, go to styles and click on 'New'.
select field name
put certain condition in 'Value' field like - javascript: current.sys_mod_count >= 0 //since i am considering your field as number
Style -> text-align: left;

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2017 06:32 AM
You may find link How to left align integer fields in listview? helpful.