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 :
Microsoft Dynamics AX (Archived)

Adjusting column width on form control lookup

(0) ShareShare
ReportReport
Posted on by

Hello,

I have a form control lookup for an invoice number. The column's default format has half the invoice number cut off. Is there any way to adjust the pixel length of the field? It looks like the SysTableLookupBase class controls this, but I would rather not touch base code if possible.


Any suggestions?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    RamK Profile Picture
    2,580 on at

    Try to add "addOrderByField" for this lookup.  Refer msdn.microsoft.com/.../querybuilddatasource.addorderbyfield.aspx

  • Community Member Profile Picture
    on at

    Hey, thanks for the reply!

    I'm not concerned with the field order however. That is all sorted out. I'm looking for a way to default the column width without touching base AX code.

    Thanks again!

  • Verified answer
    RamK Profile Picture
    2,580 on at

    Hi Spatton, If you try to add this, field width will go up, hence I suggested this.  Try this option and let me know the result

  • Verified answer
    Srinath Sundaresan Profile Picture
    510 on at

    Hi

    The width of the column is decided by the length of the column label. Adding a order by also increases the width of the column as it adds a arrow button. You may want to increase the label length here.

    Hope this helps.

  • Community Member Profile Picture
    on at

    Thank you guys! This worked. I appreciate your help!

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Sagar Suman Profile Picture

Sagar Suman 2 Super User 2026 Season 1

#1
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#1
Pratik Bhosle Profile Picture

Pratik Bhosle 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans