Solved

Lobby element - List - data aligns right and left

  • 5 February 2024
  • 3 replies
  • 72 views

Userlevel 6
Badge +15

Hello All,

 

I know there’s no way to setup the alignment of data in a List lobby element, but I thought by default it should be aligned to the left.

However, I have one list where the # of Opportunities is right aligned and it makes the Account Value quite difficult to read.

 

This is how the fields are arranged in the element:

 

Any ideas why some columns are right aligned and some others are left aligned? 

icon

Best answer by Marcel.Ausan 5 February 2024, 10:00

View original

3 replies

Userlevel 4
Badge +8

Hi,

 

The Account Value column is probably formatted as text/varchar and is not in number format like for example Opportunities.

 

You can format it to number by using to_number(Account_value column) in the datasource


BR

Johan

Userlevel 6
Badge +15

OK, nevermind. I just found out that columns of type NUMBER will be aligned to the right and columns of type TEXT will be aligned to the left. In my case the Account Value column was initially created as TEXT by mistake.

Maybe this is helpful for others as well.

 

Userlevel 6
Badge +15

@JohanLindstrom thanks for your reply. That was exactly the reason! I only saw your answer only after I updated my post and have already marked my reply as solution 😅.

Reply