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

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

How to show the full label for a field on the form

(0) ShareShare
ReportReport
Posted on by 70
Hi All,
My requirement is to show the full label for a field. let say, I have a string fields & its label is some 100 characters long. So by default its showing only starting characters & hiding rest of it. so, to view full label we need to expand that field on grid.
I don't want to set it manually by dragging it & then saving it instead I want to show label fully when form will open & fields width will resize itself as per label length.
I am using current version of D365 finance & operations.
 
Thanks,
Rahul
I have the same question (0)
  • GirishS Profile Picture
    27,825 Moderator on at
    How to show the full label for a field on the form
    Hi Rahul,
     
    I am not sure why your label is that much big.
    Anyways to solve the issue, try setting the control width model property to 'manual' and set the width property to whole number and check.
     
    Thanks,
    Girish S.
  • Rahul Dahiya Profile Picture
    70 on at
    How to show the full label for a field on the form
    Hi Girish,
    thanks for the quick reply.
    Actually I know its not very common to have this much long label but its client requirement on a field.
    I tried to set width mode & width property but that's not working for this current requirement.
     
    Thanks,
    Rahul
  • GirishS Profile Picture
    27,825 Moderator on at
    How to show the full label for a field on the form
    I tried that and its working for me.
    Can you show us the screenshot of the property?
     
    Thanks,
    Girish S.
  • GirishS Profile Picture
    27,825 Moderator on at
    How to show the full label for a field on the form
    Refer to the property screenshot.
     
    Refer to the output on the form. Its expanded but I am not sure whether the label id gets expanded. If possible, can you provide the screenshot.
     
    Thanks,
    Girish S.
  • Suggested answer
    Kevin Xia Profile Picture
    Microsoft Employee on at
    How to show the full label for a field on the form
    Hi,
    According to your problem description, it seems that you can't adjust the width of the label from a business perspective without dragging the tab left and right, but we found a post for you that is similar to the question, in which someone made a different suggestion from a development point of view, you can use it as a reference, the link is as follows: 动态社区论坛主题详细信息 (dynamics.com)
    Best regards,
    Kevin
  • Rahul Dahiya Profile Picture
    70 on at
    How to show the full label for a field on the form
    Hi Girish,
    I have set width property to 1500. we can see the full label in tooltip but still its not expanded after opening the form.
     
     
     
    Thanks,
    Rahul
  • GirishS Profile Picture
    27,825 Moderator on at
    How to show the full label for a field on the form
    Do one more thing. Set the control Auto declaration property to Yes.
    On the init method of the form set the label width as follows.
    ControlName.labelWidht(1500);
     
    Thanks,
    Girish S.
  • Rahul Dahiya Profile Picture
    70 on at
    How to show the full label for a field on the form
    Hi Girish,
    I have tried this labelwidth property as well but the result still the same, its showing only some char in label & hiding others.
     
    Thanks,
    Rahul
  • Rahul Dahiya Profile Picture
    70 on at
    How to show the full label for a field on the form
    Hi Kevin,
    Thanks for the reply.
    I have check that reference but it's all about to resize the textbox of form control using display length or width property.
    but here I wan to resize the label. Also, my field string length is just 30 but label is some 100 char long. so, how label will adjust based on strlength.
     
    Thanks,
    Rahul
  • GirishS Profile Picture
    27,825 Moderator on at
    How to show the full label for a field on the form
    You have tried all the work around. Setting the width property will work but I am not sure why its not working.
    Only option will be expanding the column manually from the UI. Other then this ther is no other options.
     
    Thanks,
    Girish S.

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

Responsible AI policies

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

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 734 Super User 2025 Season 2

#2
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 636

#3
Martin Dráb Profile Picture

Martin Dráb 553 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans