# Setting column width in table

**URL:** <https://forum.inductiveautomation.com/t/setting-column-width-in-table/2432>\
**Category:** Ignition\
**Created:** [December 16, 2010, 4:16pm UTC](https://forum.inductiveautomation.com/t/setting-column-width-in-table/2432 "2010-12-16T16:16:17Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![alex.ferrell](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@alex.ferrell](https://forum.inductiveautomation.com/u/alex.ferrell)\
**Post date:** [December 16, 2010, 4:16pm UTC](https://forum.inductiveautomation.com/t/setting-column-width-in-table/2432/1 "2010-12-16T16:16:17Z")

</div>

This seems like it should be simple but for some reason I can’t figure it out. I have a table with the data bound to a select query. When I open the column attributes data I see a width setting but I can’t edit it. When I open the table customizer I don’t see the width setting anywhere.

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [December 16, 2010, 5:11pm UTC](https://forum.inductiveautomation.com/t/setting-column-width-in-table/2432/2 "2010-12-16T17:11:44Z")

</div>

In order to set the column widths of a table do the following:

1. Go into preview mode in the designer
2. Set the column widths by resizing columns
3. Leave preview mode
4. Go into Table customizer by right clicking on the table
5. Press OK to save

Now the widths are saved. Next time you open the window they will be the same.

---

<div class="post-metadata">

**Author:** ![alex.ferrell](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@alex.ferrell](https://forum.inductiveautomation.com/u/alex.ferrell)\
**Post date:** [December 16, 2010, 5:34pm UTC](https://forum.inductiveautomation.com/t/setting-column-width-in-table/2432/3 "2010-12-16T17:34:12Z")

</div>

OK. That’s a little bit cumbersome but it works.

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [December 20, 2010, 7:24pm UTC](https://forum.inductiveautomation.com/t/setting-column-width-in-table/2432/4 "2010-12-20T19:24:55Z")

</div>

> [@alex.ferrell](#):
>
> That's a little bit cumbersome but it works.

Yeah, its weird, I'll admit. We're trying to figure out a better way.

---

<div class="post-metadata">

**Author:** ![AlThePal](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/althepal/32/3603_2.png) [@AlThePal](https://forum.inductiveautomation.com/u/AlThePal)\
**Post date:** [December 20, 2010, 10:32pm UTC](https://forum.inductiveautomation.com/t/setting-column-width-in-table/2432/5 "2010-12-20T22:32:54Z")

</div>

We never found saving the table widths to be reliable. We’ve ended up setting the table widths in code every time a window is opened.

---

<div class="post-metadata">

**Author:** ![MCC](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@MCC](https://forum.inductiveautomation.com/u/MCC)\
**Post date:** [June 8, 2011, 5:08pm UTC](https://forum.inductiveautomation.com/t/setting-column-width-in-table/2432/6 "2011-06-08T17:08:24Z")

</div>

Thanks for the tip, Carl. The trick is opening the customizer after resizing in preview mode. It might be helpful to add a note to the manual to that effect.

The manual just says:

[color=#0000FF]Changing the Column Widths  
To change a table’s column’s widths, simply switch into preview mode and use your mouse to resize  
the columns, and then switch back to design mode. Simple![/color]

If you don’t open the table customizer and click OK, it looks like your new column widths were accepted in designer, but they don’t “stick” in the client application.

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [June 15, 2011, 3:27am UTC](https://forum.inductiveautomation.com/t/setting-column-width-in-table/2432/7 "2011-06-15T03:27:24Z")

</div>

Yeah, it’s goofy. This will be changed for 7.3

---

<div class="post-metadata">

**Author:** ![weertske](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/weertske/32/3353_2.png) [@weertske](https://forum.inductiveautomation.com/u/weertske)\
**Post date:** [November 17, 2011, 7:33pm UTC](https://forum.inductiveautomation.com/t/setting-column-width-in-table/2432/8 "2011-11-17T19:33:53Z")

</div>

I noticed that this didn’t get fixed in 7.3. Am I missing something?

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [November 17, 2011, 10:34pm UTC](https://forum.inductiveautomation.com/t/setting-column-width-in-table/2432/9 "2011-11-17T22:34:39Z")

</div>

No, you’re not. It didn’t make the cut, sorry.
