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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to increase CRM field lebel width?

(0) ShareShare
ReportReport
Posted on by

Hi All,

I want to increase the CRM field label width more than 250. How can I achieve that?

I tried using something this given below but didn't work:

function LoadChangeHeaderTiles() {
changeHeaderTileFormats();
setInterval(changeHeaderTileFormats, 1000);
}

function changeHeaderTileFormats() {
var headertiles = window.parent.document.getElementsByClassName("ms-crm-InlineEditLabelText");
if (headertiles != null) {
for (var i = 0; i < headertiles.length; i++) {
headertiles[i].style.width = "400px";
headertiles[i].style.maxWidth = "400px";
}
}
}

*This post is locked for comments

I have the same question (0)
  • Karsten Wirl Profile Picture
    4,477 on at

    Hello New Bee.

    Do you realize this only for one field on your form or for all fields?

    Kind regards,

    Karsten

  • Suggested answer
    Rawish Kumar Profile Picture
    13,758 on at

    Is it a requirement for you to increase it on the run time?

    using out of the box from form editor you can increase the width of all fields in sections, however not individual field.

  • ashlega Profile Picture
    34,477 on at

    This is unsupported, so I'm guessing that's part of the problem.

    You might also consider configuring the section to display field labels on top of the fields (not to the left of them)

  • Community Member Profile Picture
    on at

    Hi All,

    Thanks for quick response. There are almost 100 fields on the form and all the fields are long in width.

    Each section has 10 fields and currently I have set section width to 250 but still I need to increase it.

  • Suggested answer
    Preeti Sharma Profile Picture
    2,678 on at

    Hi,

    You can increase width of fields out of the box using form editor by navigating to format of section.

    Following link may help you:

    community.dynamics.com/.../changing-field-label-width-in-dynamics-crm

    Hope this helps:)

  • Community Member Profile Picture
    on at

    Hi,

    You can increase the column width from sections properties.

    Thanks,

  • Aric Levin - MVP Profile Picture
    30,190 Moderator on at

    That article is for CRM 4.0, not 2016 (version 8), and will not work in version 8.0.

    You cannot do that in an supported way in JavaScript.

    As mentioned in earlier answers you should use the Section Properties to change the width of the section.

    Dynamics 365 v9 btw, does provide wrap text capabilities, but I think that you are On-Premise, so that is not available either at this point.

    Hope this helps.

  • Community Member Profile Picture
    on at

    Thanks for your reply. But I need to increase it more than 250.  So section properties is not the option for me. Anything else?

  • Suggested answer
    Alex Fun Wei Jie Profile Picture
    33,628 on at

    Hi,

    not possible at this moment, wait for Dynamics V9 to be released.

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…

Neeraj Kumar – Community Spotlight

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

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans