center or left align numbers on timesheet

dennisandrison
Kilo Expert

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.  

16 REPLIES 16

gdd
Giga Expert

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

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


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;


Jaspal Singh
Mega Patron
Mega Patron

You may find link How to left align integer fields in listview?   helpful.