# Perspective Table Column Lock

**URL:** <https://forum.inductiveautomation.com/t/perspective-table-column-lock/90376>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [May 14, 2024, 4:18pm UTC](https://forum.inductiveautomation.com/t/perspective-table-column-lock/90376 "2024-05-14T16:18:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jacob.ramirez](https://avatars.discourse-cdn.com/v4/letter/j/9dc877/32.png) [@jacob.ramirez](https://forum.inductiveautomation.com/u/jacob.ramirez)\
**Post date:** [May 14, 2024, 4:18pm UTC](https://forum.inductiveautomation.com/t/perspective-table-column-lock/90376/1 "2024-05-14T16:18:42Z")

</div>

Is there any way to lock a column in place in a perspective table for horizontal scrolling?

I have a table with a lot of columns in it that requires a horizontal scroll bar, I would like to have one of the first few columns locked in place so that when you scroll to the right, it doesn't disappear.

Any suggestions on how to get that done?

---

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [May 14, 2024, 5:08pm UTC](https://forum.inductiveautomation.com/t/perspective-table-column-lock/90376/2 "2024-05-14T17:08:50Z")

</div>

Use a second table with only a single column, line it up with the other table, and use selection data and/or scripting to populate the column with the data you want to be locked.

---

<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 14, 2024, 7:07pm UTC](https://forum.inductiveautomation.com/t/perspective-table-column-lock/90376/3 "2024-05-14T19:07:55Z")

</div>

What will happen if a cell wraps on one of the tables? Pager? Vertical scrolling?

---

<div class="post-metadata">

**Author:** ![danieltalbot](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/danieltalbot/32/11201_2.png) [@danieltalbot](https://forum.inductiveautomation.com/u/danieltalbot)\
**Post date:** [May 14, 2024, 7:38pm UTC](https://forum.inductiveautomation.com/t/perspective-table-column-lock/90376/4 "2024-05-14T19:38:10Z")

</div>

I am reminded of this post:

> [@Perspective Table Sticky Column](https://forum.inductiveautomation.com/t/perspective-table-sticky-column/74860/3):
>
> It is a bit painful, but if you are in a pinch, you can create your own custom table via the View Canvas component. Even though it doesn't give it as an option, it will honor the position: sticky for the templates inside of the canvas (credit to @victordcq with [this post](https://forum.inductiveautomation.com/t/perspective-view-canvas-replicate-excel-spreadsheet-freeze-top-and-left-headers/50400/6)). I ended up having to go this route - but I will add that I found it was a steep learning curve to get to a solution that looked "good" and was performant.

---

<div class="post-metadata">

**Author:** ![beck58](https://avatars.discourse-cdn.com/v4/letter/b/f17d59/32.png) [@beck58](https://forum.inductiveautomation.com/u/beck58)\
**Post date:** [July 3, 2025, 1:47am UTC](https://forum.inductiveautomation.com/t/perspective-table-column-lock/90376/5 "2025-07-03T01:47:24Z")

</div>

Hi Jacob, this is a potential workaround: [How to freeze a column in table - #3 by beck58](https://forum.inductiveautomation.com/t/how-to-freeze-a-column-in-table/92736/3)
