# Auto Column Width

**URL:** <https://forums.knack.com/t/auto-column-width/12365>\
**Category:** Get Answers\
**Created:** [April 9, 2022, 10:52am UTC](https://forums.knack.com/t/auto-column-width/12365 "2022-04-09T10:52:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joel1](https://avatars.discourse-cdn.com/v4/letter/j/c2a13f/32.png) [@Joel1](https://forums.knack.com/u/Joel1)\
**Post date:** [April 9, 2022, 10:52am UTC](https://forums.knack.com/t/auto-column-width/12365/1 "2022-04-09T10:52:23Z")

</div>

Apologies if this has been asked before however is there an easy/ easier way to have column widths automatically adjust to the length of the longest record displayed rather than having the record spread over three lines and individually set each column manually?

Warm regards,

Joel

---

<div class="post-metadata">

**Author:** ![CarlHolmes](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/carlholmes/32/2814_2.png) [@CarlHolmes](https://forums.knack.com/u/CarlHolmes)\
**Post date:** [April 9, 2022, 2:53pm UTC](https://forums.knack.com/t/auto-column-width/12365/2 "2022-04-09T14:53:35Z")

</div>

Hi @Joel1 - can you provide an example of what you mean. Be useful to see the live app and also the fields view in the builder so I can understand the field types. 😊

---

<div class="post-metadata">

**Author:** ![Joel1](https://avatars.discourse-cdn.com/v4/letter/j/c2a13f/32.png) [@Joel1](https://forums.knack.com/u/Joel1)\
**Post date:** [April 10, 2022, 12:43am UTC](https://forums.knack.com/t/auto-column-width/12365/3 "2022-04-10T00:43:53Z")

</div>

Sure! image below. Basically fields like name/mobile/branch etc we’d like to have spread out to fit the entire contents of the column. This data has been mocked up for the purpose of testing.

 ![Screen Shot 2022-04-10 at 10.43.01 am](https://us1.discourse-cdn.com/flex020/uploads/knack/original/2X/a/adb25efb18e6f12e47969851a97a7ea8f33a0d43.png)

---

<div class="post-metadata">

**Author:** ![CarlHolmes](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/carlholmes/32/2814_2.png) [@CarlHolmes](https://forums.knack.com/u/CarlHolmes)\
**Post date:** [April 10, 2022, 5:59am UTC](https://forums.knack.com/t/auto-column-width/12365/4 "2022-04-10T05:59:42Z")

</div>

As you are likely aware, Knack is a responsive web app so will change the column widths to suit the display size, they are effectively elastic columns.  
In the case of the “Mobile” column Knack is wrapping the text as there are spaces between the groups of numbers 0418 121 000.  
Try changing the column heading to “Mobile Phone Number” and this will force the column width to be wider as Knack will not automatically wrap headings.  
The same is happening in the “Name” field.  
I’d recommend changing the column width to 150px to manually dictate the width and enforce.

Are you running the app in Full or Max width view?

> **[Live App Design](https://learn.knack.com/article/5lbfjnp6p2-live-app-design#page_layout)**
>
> The Live App Design section of the Builder allows you to customize global design settings such as the layout, color, font and logo options for your app. This article will discuss how you can use the…

Column Widths, Line Breaks and HTML - Knack Database

[![](https://us1.discourse-cdn.com/flex020/uploads/knack/original/2X/4/4061bf1a08460554c3f4caaf3a6e6a26ace47fd8.jpeg "Column Widths, Line Breaks and HTML - Knack Database") ](https://www.youtube.com/watch?v=B18iA1i-YQM)

---

<div class="post-metadata">

**Author:** ![Joel1](https://avatars.discourse-cdn.com/v4/letter/j/c2a13f/32.png) [@Joel1](https://forums.knack.com/u/Joel1)\
**Post date:** [April 13, 2022, 8:51am UTC](https://forums.knack.com/t/auto-column-width/12365/5 "2022-04-13T08:51:08Z")

</div>

Hi Carl,

Apologies for the delay your reply is greatly appreciated. We’re operating in Full and will change the field names in some cases! Thanks!
