Notifications
Announcements
No record found.
Exp. I want to align content of Location Code column in sales order ListPage
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.
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.
Ok, Let me know if below link solve your problem.
community.dynamics.com/.../al-right-alignment-of-a-text-field
with the Autoformat property.
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.
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.
ZHU
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 3,143
Jainam M. Kothari 1,694 Super User 2025 Season 2
YUN ZHU 1,067 Super User 2025 Season 2