# Is it possible for Table headers to be sticky?

**URL:** <https://community.weweb.io/t/is-it-possible-for-table-headers-to-be-sticky/1226>\
**Category:** How do I?\
**Created:** [October 3, 2022, 4:59am UTC](https://community.weweb.io/t/is-it-possible-for-table-headers-to-be-sticky/1226 "2022-10-03T04:59:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hsatl](https://avatars.discourse-cdn.com/v4/letter/h/67e7ee/32.png) [@hsatl](https://community.weweb.io/u/hsatl)\
**Post date:** [October 3, 2022, 4:59am UTC](https://community.weweb.io/t/is-it-possible-for-table-headers-to-be-sticky/1226/1 "2022-10-03T04:59:26Z")

</div>

Is it possible for data to scroll keeping the datatable headers sticky? I tried almost all options but it does not appear there is a built in feature.

Any one knows a hack?

---

<div class="post-metadata">

**Author:** ![khairul](https://avatars.discourse-cdn.com/v4/letter/k/a88e4f/32.png) [@khairul](https://community.weweb.io/u/khairul)\
**Post date:** [October 3, 2022, 5:08am UTC](https://community.weweb.io/t/is-it-possible-for-table-headers-to-be-sticky/1226/2 "2022-10-03T05:08:06Z")

</div>

In the Datagrid element there is a built in feature  
 ![Screenshot 2022-10-03 at 1.07.30 PM](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/6/6d28cd3518f18dd692abbe5d5e1a5d129aa23009.png)

---

<div class="post-metadata">

**Author:** ![hsatl](https://avatars.discourse-cdn.com/v4/letter/h/67e7ee/32.png) [@hsatl](https://community.weweb.io/u/hsatl)\
**Post date:** [October 3, 2022, 5:28am UTC](https://community.weweb.io/t/is-it-possible-for-table-headers-to-be-sticky/1226/3 "2022-10-03T05:28:26Z")

</div>

Thanks @khairul  
I was looking for similar behavior in Table element.

---

<div class="post-metadata">

**Author:** ![khairul](https://avatars.discourse-cdn.com/v4/letter/k/a88e4f/32.png) [@khairul](https://community.weweb.io/u/khairul)\
**Post date:** [October 3, 2022, 5:36am UTC](https://community.weweb.io/t/is-it-possible-for-table-headers-to-be-sticky/1226/4 "2022-10-03T05:36:19Z")

</div>

Ahh sorry about that, there isn’t built in like datagrid, but you can manually do that in the editor:

1. Select the header  
 ![Screenshot 2022-10-03 at 1.35.03 PM](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/6/6db37e3df444c37ff1ee53c1a7cf6eb6564725b5.png)

2. Set position:sticky  
 ![Screenshot 2022-10-03 at 1.34.57 PM](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/3/3150d644268176f287335014ae841fe8eb39834c.png)

Let me know if that helps

p/s: turn on Z-Axis so it stays on top of your table contents
