How can you set the alignment of text in a column (List View)

mitzaka
Mega Guru

Hi SNC,

I have a list view (which is actually a database view) and one of my columns shows the values aligned to the right. How can I modify that, so that all values in the columns are shown aligned to the left?

demand.png

5 REPLIES 5

sergiu_panaite
ServiceNow Employee
ServiceNow Employee

Hi Dimitar,



Are you referring to alignment of the value from that column?


Maybe this post helps you:



Can you left align labels on forms in Eureka? CSS?



Let me know if this is what you wanted.



Regards,


Sergiu


The Consultant
Tera Contributor

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:left;



Please Mark the answer correct.find_real_file.png


Community Alums
Not applicable

Hi @The Consultant 

How can we achieve the same for agent workspace?

ayush512
Giga Contributor

Thanks, Dimitar. This worked