# Table column width auto?

**URL:** <https://forum.inductiveautomation.com/t/table-column-width-auto/98542>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [November 13, 2024, 2:55am UTC](https://forum.inductiveautomation.com/t/table-column-width-auto/98542 "2024-11-13T02:55:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![taohongyu88](https://avatars.discourse-cdn.com/v4/letter/t/f05b48/32.png) [@taohongyu88](https://forum.inductiveautomation.com/u/taohongyu88)\
**Post date:** [November 13, 2024, 2:55am UTC](https://forum.inductiveautomation.com/t/table-column-width-auto/98542/1 "2024-11-13T02:55:29Z")

</div>

In Perspective Table , in column population , value width is out of the column.

How to set this column auto width or show the horizontal scroll bar?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/9/99c7982b39b27aaaac3098c6aad420e66b32c304.png)

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [November 13, 2024, 9:23am UTC](https://forum.inductiveautomation.com/t/table-column-width-auto/98542/2 "2024-11-13T09:23:59Z")

</div>

I don't know, but if wrapping the number is an option, then try this:

> [@How to force word-wrap in a table column of email addresses?](https://forum.inductiveautomation.com/t/how-to-force-word-wrap-in-a-table-column-of-email-addresses/98191/3):
>
> On the column in question add the following to the style properties. (You need to have set each column's field property to match the column name for this to work.) columns.n.style.word-break : break-all

---

<div class="post-metadata">

**Author:** ![Benjamin\_Furlani](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/benjamin_furlani/32/66084_2.png) [@Benjamin\_Furlani](https://forum.inductiveautomation.com/u/Benjamin_Furlani)\
**Post date:** [November 14, 2024, 2:51pm UTC](https://forum.inductiveautomation.com/t/table-column-width-auto/98542/3 "2024-11-14T14:51:24Z")

</div>

To avoid painful trials and tribulation I have always just used a view for cells like that. You can set the overflowX on the view cell to auto and that should give you the desired result.

I have also done some custom CSSing in the advanced style sheets before to make more overall edits to how the perspective table works, but I don't recommend it as you can potentially cause more headaches trying to finagle the CSS just right.
