Left align numbers

  • 30 November 2022
  • 1 reply

Userlevel 5
Badge +20

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 1 December 2022, 14:32

View original

This topic has been closed for comments

1 reply

Userlevel 7
Badge +11

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.