How to left align integer fields in listview?

nthumma
Giga Guru

ListView.JPG

is it possible to left align integer fields in a list view?

Thanks in advance.

1 ACCEPTED SOLUTION

Hi Srnewbie,



Please check the screenshot below.


change the Field name . i have test it on my incident list. and it is working fine.



Style sheet..png



Regards,


Harshvardhan



PS: Hit like, Helpful or Correct depending on the impact of the response


View solution in original post

23 REPLIES 23

Harsh Vardhan
Giga Patron

Hi Srnewbie,



Could you please try the code below?



document.getElementById("id").style.textAlign = "center";



Regards,


Harshvardhan



where do i have to try this code ?


Harsh Vardhan
Giga Patron

just want to add another way to do it.


Field Style.


Create field style for that column then under style use, text-align: right;




Regards,


Harshvardhan


no luck with this