# Table.props.column.width expects numeric value instead of String with 'px' suffix

**URL:** <https://forum.inductiveautomation.com/t/table-props-column-width-expects-numeric-value-instead-of-string-with-px-suffix/23456>\
**Category:** Ignition Early Access\
**Created:** [March 19, 2019, 6:38pm UTC](https://forum.inductiveautomation.com/t/table-props-column-width-expects-numeric-value-instead-of-string-with-px-suffix/23456 "2019-03-19T18:38:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![BumbleBeeTuna](https://avatars.discourse-cdn.com/v4/letter/b/cc9497/32.png) [@BumbleBeeTuna](https://forum.inductiveautomation.com/u/BumbleBeeTuna)\
**Post date:** [March 19, 2019, 6:38pm UTC](https://forum.inductiveautomation.com/t/table-props-column-width-expects-numeric-value-instead-of-string-with-px-suffix/23456/1 "2019-03-19T18:38:39Z")

</div>

Title explains it well.

Another thing to note is when I try to change the width value(on the duplicated table) I have to delete the entire field before it respects any value.

---

<div class="post-metadata">

**Author:** ![BumbleBeeTuna](https://avatars.discourse-cdn.com/v4/letter/b/cc9497/32.png) [@BumbleBeeTuna](https://forum.inductiveautomation.com/u/BumbleBeeTuna)\
**Post date:** [March 21, 2019, 8:59pm UTC](https://forum.inductiveautomation.com/t/table-props-column-width-expects-numeric-value-instead-of-string-with-px-suffix/23456/2 "2019-03-21T20:59:28Z")

</div>

More info to add here; the only time **table.props.column.width** is respected is when your in the designer doing the initial adjustment. If I close the view and re-open the table goes back to it’s original width sizes but the width field retains the modified value.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [March 21, 2019, 9:10pm UTC](https://forum.inductiveautomation.com/t/table-props-column-width-expects-numeric-value-instead-of-string-with-px-suffix/23456/3 "2019-03-21T21:10:23Z")

</div>

I’m not able to replicate this on today’s build… Check my steps below and let me know if I missed something.

1. Place a Table Component in a View.
2. Click “Add Array Element” for Table.props.column
3. set Table.props.column[0].field to “city”.
4. set Table.props.column[0].width to 100.
5. Save project.
6. Close View.
7. Open View.

Result: My Table displays only one column with width of 100. ✅

---

<div class="post-metadata">

**Author:** ![BumbleBeeTuna](https://avatars.discourse-cdn.com/v4/letter/b/cc9497/32.png) [@BumbleBeeTuna](https://forum.inductiveautomation.com/u/BumbleBeeTuna)\
**Post date:** [March 21, 2019, 9:35pm UTC](https://forum.inductiveautomation.com/t/table-props-column-width-expects-numeric-value-instead-of-string-with-px-suffix/23456/4 "2019-03-21T21:35:05Z")

</div>

Here’s out to reproduce what I’m seeing. This is a user error because I assumed I needed the px suffix as the basis key in a flex container requires the px.

1. Place a Table Component in a View.
2. Click “Add Array Element” for Table.props.column ( **x3** to show all columns)
3. set Table.props.column[0].field to “city”.
4. set Table.props.column[0].width to 10 **px**.
5. Save project.
6. Close View.
7. Open View.

Removing the px is working for me, thank you!
