# Getting Width of a Table Column

**URL:** <https://forum.inductiveautomation.com/t/getting-width-of-a-table-column/99103>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [November 25, 2024, 11:42pm UTC](https://forum.inductiveautomation.com/t/getting-width-of-a-table-column/99103 "2024-11-25T23:42:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Subin\_Adhikari](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@Subin\_Adhikari](https://forum.inductiveautomation.com/u/Subin_Adhikari)\
**Post date:** [November 25, 2024, 11:42pm UTC](https://forum.inductiveautomation.com/t/getting-width-of-a-table-column/99103/1 "2024-11-25T23:42:40Z")

</div>

Gurus,

if i want to get the column width when someone resize the column , how do i do that ? if i set the column width from the button its working perfectly, but if someone resized the table column using mouse the width property of the column is not updating.

Regards,

---

<div class="post-metadata">

**Author:** ![Subin\_Adhikari](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@Subin\_Adhikari](https://forum.inductiveautomation.com/u/Subin_Adhikari)\
**Post date:** [November 25, 2024, 11:48pm UTC](https://forum.inductiveautomation.com/t/getting-width-of-a-table-column/99103/2 "2024-11-25T23:48:12Z")

</div>

This seems to be what i am looking for 🙂

> [@Perspective Table: Any way to get the new column widths after user makes adjustments?](https://forum.inductiveautomation.com/t/perspective-table-any-way-to-get-the-new-column-widths-after-user-makes-adjustments/79671/2):
>
> The designer doesnt seem to like this very much, but it works on client (in browser atleast). Tip: write on change, only read on startup (else you get an infinite loop) Copy the markdown, Take note of the domId of the table, and the propName on the first line of the code. You'll want an onchange script on the view.custom.propName. [columnwidth.zip](https://forum.inductiveautomation.com/uploads/short-url/5Z0ACMSHJGx7jwvMUeFkccpatNt.zip) (24.2 KB) 
> 
> > **markdown code**
> >
> > #make the propName the key to write too in the view.custom propName = "cellHeader" code = """…
