web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

How to align Value or content of any List Page column in center?

(1) ShareShare
ReportReport
Posted on by 78

Exp. I want to align content of Location Code column  in sales order ListPage

Align.png

I have the same question (0)
  • Suggested answer
    Nitin Verma Profile Picture
    21,812 Moderator on at

    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.

  • Rushi Suthar Profile Picture
    78 on at

    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.

  • Suggested answer
    Nitin Verma Profile Picture
    21,812 Moderator on at

    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.

  • Rushi Suthar Profile Picture
    78 on at

    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.

  • Suggested answer
    YUN ZHU Profile Picture
    100,214 Super User 2026 Season 1 on at

    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

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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,948 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 936 Super User 2026 Season 1

#3
Teagen Boll Profile Picture

Teagen Boll 616 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans