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 :
Small and medium business | Business Central, N...
Answered

AL Development - set height of multiline text field

(4) ShareShare
ReportReport
Posted on by 3,174
Hi All
I want to reduce the size of a multiline text field . I could not find the height only Width is available. Rowspan did not work. The use case is to cpy past text with line breaks. Only work with multiline (or blob) but doesnt want to increase the height if empty
I have the same question (0)
  • Suggested answer
    Sohail Ahmed Profile Picture
    11,086 Super User 2025 Season 2 on at
    AL Development - set height of multiline text field

    In AL, multiline text fields don’t support direct height control like RowSpan. To manage layout, place the field in a group and use MinHeight or use a control add-in for better control over text display and formatting. ✅

  • Suggested answer
    YUN ZHU Profile Picture
    92,292 Super User 2025 Season 2 on at
    AL Development - set height of multiline text field
    There will indeed be security issues, so I personally think you can submit this suggestion to Microsoft and ask Microsoft to add a property similar to the Width Property.
    Missing a feature? Post or vote for ideas on: aka.ms/BCIdeas
     
     
    Thanks
    ZHU
  • Samantha73 Profile Picture
    3,174 on at
    AL Development - set height of multiline text field
    My only issue with control add-in is not sure about security and maintainability - if we have full app base don control addin worth otherwise might be overkill
  • Gerardo Rentería García Profile Picture
    23,572 Most Valuable Professional on at
    AL Development - set height of multiline text field

    Hi, good day
    I hope this can help you, and give you some hints.

    Business Central and Multiline Fields – Stefan Maroń

    Best Regards
    Gerardo

  • Suggested answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    14,178 Super User 2025 Season 2 on at
    AL Development - set height of multiline text field
    Standard doesn't allow you to set up the height of multiline.
    You can try using add-in, but it will take more effort to do it.
  • Verified answer
    YUN ZHU Profile Picture
    92,292 Super User 2025 Season 2 on at
    AL Development - set height of multiline text field
    As far as I know, it cannot be done except with a third party add-in.
    Hope the following can give you some hints.
    Dynamics 365 Business Central: Change the column width and row height in list pages
    Dynamic HTML Rendering in Business Central
    Thanks.
    ZHU
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    19,137 Super User 2025 Season 2 on at
    AL Development - set height of multiline text field
    Agree with previous response you can tried this with js onces.
  • Suggested answer
    Tech-Lucky Profile Picture
    1,261 Super User 2025 Season 2 on at
    AL Development - set height of multiline text field

    You can achieve this by using a JavaScript Control Add-in.

    Standard multiline text fields (or BLOBs) do not offer height control directly in AL, and rowspan won't work in this context. If your use case involves copying and pasting text with line breaks, and you want to avoid increasing the height when the field is empty, a control add-in gives you more flexibility. It allows you to define the height dynamically with JavaScript and apply additional styling or logic based on the content.

     

    you may refer to this for add-ins

    https://www.kauffmann.nl/2019/02/01/controlling-the-size-of-a-control-add-in/

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 4,220

#2
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 3,958

#3
Sumit Singh Profile Picture

Sumit Singh 2,961

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans