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

Notifications

Announcements

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)
  • Community Member Profile Picture
    on at

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

  • 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.

  • 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

  • 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!

  • Suggested answer
    RamK Profile Picture
    2,580 on at

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

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
TAHER Mehdi Profile Picture

TAHER Mehdi 3

#2
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

#2
Volodya Profile Picture

Volodya 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans