Announcements
Exp. I want to align content of Location Code column in sales order ListPage
Hi, as for as I know, Business Central does not allow that level of visual control.
It has only two default cases, if it is an amount (Decimal...), align it to the right, otherwise (Text, Code...), align it to the left.
If you really want to do it, using add-in, creating a new html page might work. I haven't tried it.
Hope the following two Erik's videos can give you some inspiration.
https://www.youtube.com/watch?v=8TurwMAq54c&t=396s
https://www.youtube.com/watch?v=SqazEmN5xeE&t=1801s
Hope this helps.
Thanks.
ZHU
I have tried Autoformat property as per your suggestion but it did not work as per current scenario.
Erik Hougaard Saurav.Dhyani divyeshchitte yzhums Stefano Demiliani experts Any suggestions from your side.
Ok, Let me know if below link solve your problem.
community.dynamics.com/.../al-right-alignment-of-a-text-field
with the Autoformat property.
Thanks.
I think you haven't got my question properly. Actually what I needed is, I want to give alignment as "Center" to my "Location Code" column values.
Hi,
Do you want to sort on Location code field?
If yes, you can use
Rec.SetCurrentKey("Location code")
On you write above line of code On OnopnPage Trigger on that Sales orders List page.
Thanks.
André Arnaud de Cal...
294,110
Super User 2025 Season 1
Martin Dráb
232,866
Most Valuable Professional
nmaenpaa
101,158
Moderator