Skip to main content
Solved

Left align numbers

  • November 30, 2022
  • 1 reply
  • 73 views

Harm Horstman
Superhero
Forum|alt.badge.img+21

Why is it still not possible to align numbers also in grid views left?

In some cases, this is desirable, especially when a ID field, for example an invoice number which is an integer (eg. 20220014).

I know, there are tricks to get it done, but we don't like to use expression fields for this.

 

Best answer by Jasper

Hi Harm,

Left aligning numbers in the grid has always been possible by setting the alignment property of the column's domain: 
 

Left aligned Customer no. (integer) in the Windows and Universal GUI

If this doesn't work in your situation, then please submit ticket so we can investigate it.


By the way, it might be worth considering making invoice number a text field instead of a number, as it has a semantic format and it's not a sequential number or a number that you want to do calculations with or something.

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

1 reply

Jasper
Superhero
  • 678 replies
  • Answer
  • December 1, 2022

Hi Harm,

Left aligning numbers in the grid has always been possible by setting the alignment property of the column's domain: 
 

Left aligned Customer no. (integer) in the Windows and Universal GUI

If this doesn't work in your situation, then please submit ticket so we can investigate it.


By the way, it might be worth considering making invoice number a text field instead of a number, as it has a semantic format and it's not a sequential number or a number that you want to do calculations with or something.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings