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

AL Development - set height of multiline text field

(4) ShareShare
ReportReport
Posted on by 3,297
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
    Tech-Lucky Profile Picture
    1,271 Moderator on at

    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/

  • Suggested answer
    Khushbu Rajvi. Profile Picture
    22,128 Super User 2026 Season 1 on at
    Agree with previous response you can tried this with js onces.
  • Verified answer
    YUN ZHU Profile Picture
    99,055 Super User 2026 Season 1 on at
    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
    Teddy Herryanto (That NAV Guy) Profile Picture
    14,302 Super User 2026 Season 1 on at
    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.
  • Gerardo Rentería García Profile Picture
    25,555 Most Valuable Professional on at

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

    Business Central and Multiline Fields – Stefan Maroń

    Best Regards
    Gerardo

  • Samantha73 Profile Picture
    3,297 on at
    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
  • Suggested answer
    YUN ZHU Profile Picture
    99,055 Super User 2026 Season 1 on at
    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
  • Suggested answer
    Sohail Ahmed Profile Picture
    11,169 Super User 2026 Season 1 on at

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

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,926 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,158 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 533 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans