# Lock Table Headers

**URL:** <https://forums.knack.com/t/lock-table-headers/13548>\
**Category:** Feature Requests\
**Created:** [December 21, 2022, 2:40pm UTC](https://forums.knack.com/t/lock-table-headers/13548 "2022-12-21T14:40:48Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mike1](https://avatars.discourse-cdn.com/v4/letter/m/e19adc/32.png) [@Mike1](https://forums.knack.com/u/Mike1)\
**Post date:** [December 21, 2022, 2:40pm UTC](https://forums.knack.com/t/lock-table-headers/13548/1 "2022-12-21T14:40:48Z")

</div>

This was a request from Way back in 2014

I do think that they were right on with this request, but it was never something done. Not sure why. Is it a difficult thing to have in the system.

I could not vote on the old request, so I am asking again.

[KellyFaus71247](https://forums.knack.com/u/KellyFaus71247)

6

[Dec '14](https://forums.knack.com/t/lock-table-headers-in-table-form/5529)

If there was an option to lock table headers and allow just the rows to scroll would be a huge improvement

Can be confusing when you cant see the collum header you constantly have to scroll back to top of a table to verify you are looking at the correct column

---

<div class="post-metadata">

**Author:** ![Mike1](https://avatars.discourse-cdn.com/v4/letter/m/e19adc/32.png) [@Mike1](https://forums.knack.com/u/Mike1)\
**Post date:** [December 21, 2022, 4:43pm UTC](https://forums.knack.com/t/lock-table-headers/13548/2 "2022-12-21T16:43:58Z")

</div>

In the Builder when you go to Records, these Headers, are locked. Why can we not lock them in the Live App?

---

<div class="post-metadata">

**Author:** ![CarlHolmes](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/carlholmes/32/2814_2.png) [@CarlHolmes](https://forums.knack.com/u/CarlHolmes)\
**Post date:** [December 21, 2022, 6:54pm UTC](https://forums.knack.com/t/lock-table-headers/13548/3 "2022-12-21T18:54:31Z")

</div>

A native option would be great, however, you can get around this with a snippet of code:

Sticky Headers - Knack Database

[![](https://us1.discourse-cdn.com/flex020/uploads/knack/original/2X/1/1f3040c14166c10cfdc6232b13c9a9abcecf033d.jpeg "Sticky Headers - Knack Database") ](https://www.youtube.com/watch?v=iNdn-zwIzd0)

---

<div class="post-metadata">

**Author:** ![Mike1](https://avatars.discourse-cdn.com/v4/letter/m/e19adc/32.png) [@Mike1](https://forums.knack.com/u/Mike1)\
**Post date:** [December 21, 2022, 7:53pm UTC](https://forums.knack.com/t/lock-table-headers/13548/4 "2022-12-21T19:53:48Z")

</div>

Thank You, that seems to Almost work.  
For some reason mine is freezing just above the table headers. So the table headers are scrolling away, but the search bar, and title are staying visible.

---

<div class="post-metadata">

**Author:** ![CarlHolmes](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/carlholmes/32/2814_2.png) [@CarlHolmes](https://forums.knack.com/u/CarlHolmes)\
**Post date:** [December 21, 2022, 8:12pm UTC](https://forums.knack.com/t/lock-table-headers/13548/5 "2022-12-21T20:12:19Z")

</div>

Try switching between Full and Max width under settings. It works ok when your tables are full width. Bit of a workaround I’m afraid. There may be another code based fix but I’m not a coder. 😜

---

<div class="post-metadata">

**Author:** ![Mike1](https://avatars.discourse-cdn.com/v4/letter/m/e19adc/32.png) [@Mike1](https://forums.knack.com/u/Mike1)\
**Post date:** [December 21, 2022, 8:25pm UTC](https://forums.knack.com/t/lock-table-headers/13548/6 "2022-12-21T20:25:20Z")

</div>

That worked, Thank you

---

<div class="post-metadata">

**Author:** ![CarlHolmes](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/carlholmes/32/2814_2.png) [@CarlHolmes](https://forums.knack.com/u/CarlHolmes)\
**Post date:** [December 21, 2022, 9:10pm UTC](https://forums.knack.com/t/lock-table-headers/13548/7 "2022-12-21T21:10:00Z")

</div>

Glad that helped. 👍
