# strictWidth seems does not work in perspective table

**URL:** <https://forum.inductiveautomation.com/t/strictwidth-seems-does-not-work-in-perspective-table/106491>\
**Category:** Ignition\
**Tags:** perspective, ignition81\
**Created:** [May 21, 2025, 5:16am UTC](https://forum.inductiveautomation.com/t/strictwidth-seems-does-not-work-in-perspective-table/106491 "2025-05-21T05:16:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lina\_Su](https://avatars.discourse-cdn.com/v4/letter/l/7ba0ec/32.png) [@Lina\_Su](https://forum.inductiveautomation.com/u/Lina_Su)\
**Post date:** [May 21, 2025, 5:16am UTC](https://forum.inductiveautomation.com/t/strictwidth-seems-does-not-work-in-perspective-table/106491/1 "2025-05-21T05:16:42Z")

</div>

I noticed that the strict width property isn't working in my perspective table. It doesn't seem to work for my actual project table either. To test this out, I created a test view and added a new table with virtual data, which includes three columns: city, country, and population. I carefully entered the field names for each column, making sure the case sensitivity was correct. Then, I tried to adjust the width of the country column by checking the strict width option and changing the width to 400px, then 200px. But no matter what I did, the table kept splitting the column widths equally. I'm not sure what I'm missing here.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/6/d6f0a45dc0f673435b494776467ddf61dacee8e7.png)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/6/66dd2ca6229b77c08855e327c44959f81bafb6b4.png)

---

<div class="post-metadata">

**Author:** ![David\_Stone](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/david_stone/32/79749_2.png) [@David\_Stone](https://forum.inductiveautomation.com/u/David_Stone)\
**Post date:** [May 21, 2025, 5:52am UTC](https://forum.inductiveautomation.com/t/strictwidth-seems-does-not-work-in-perspective-table/106491/2 "2025-05-21T05:52:11Z")

</div>

Is the `px` necessary? I seem to remember this works with the number only?

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [May 21, 2025, 6:41am UTC](https://forum.inductiveautomation.com/t/strictwidth-seems-does-not-work-in-perspective-table/106491/3 "2025-05-21T06:41:41Z")

</div>

I think David is right and you should remove the 'px' suffix.

I believe this is not a css property, and it expects a number. Adding a suffix breaks it.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [May 21, 2025, 7:05am UTC](https://forum.inductiveautomation.com/t/strictwidth-seems-does-not-work-in-perspective-table/106491/4 "2025-05-21T07:05:18Z")

</div>

It would be nice if it produced a warning as I imagine this would trip up most people

---

<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:** [May 21, 2025, 7:58am UTC](https://forum.inductiveautomation.com/t/strictwidth-seems-does-not-work-in-perspective-table/106491/5 "2025-05-21T07:58:43Z")

</div>

It's in [Perspective - Table | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/appendix/components/perspective-components/perspective-display-palette/perspective-table#properties) but way down in **columns**.

> - **width** : The width of this column. If resize is enabled, specifies the column width on initial load. User can override this in the runtime if the Resizable option is enabled. **Value is numeric.**

If you set `strictWidth : false` then the width determines the **_proportional_ width** of each column. e.g. 10, 15, 25 (which sums to 50) would allocate 20%, 30% and 50% of the table width to the respective columns.
