# Freeze couple columns in perspective table component from query

**URL:** <https://forum.inductiveautomation.com/t/freeze-couple-columns-in-perspective-table-component-from-query/62636>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [August 3, 2022, 3:51pm UTC](https://forum.inductiveautomation.com/t/freeze-couple-columns-in-perspective-table-component-from-query/62636 "2022-08-03T15:51:59Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [August 4, 2022, 1:02pm UTC](https://forum.inductiveautomation.com/t/freeze-couple-columns-in-perspective-table-component-from-query/62636/6 "2022-08-04T13:02:07Z")

</div>

yeah nvm i found it, and it doesnt work xd

looking back at the code i remember i tried this before..

i found the post, you can kinda mimic a table with a sticky column like this:

> [@Perspective - View Canvas - replicate Excel spreadsheet - freeze top and left headers?](https://forum.inductiveautomation.com/t/perspective-view-canvas-replicate-excel-spreadsheet-freeze-top-and-left-headers/50400/6):
>
> here ya go: Sorry for the terrible quality, i couldnt upload the big video and seems i reduce it way to much xD the spacing columns and rows is a bit off but its just a demo stuck_out_tongue important things are: for the header position:sticky top:0 left:null for the left one: position:sticky top:null left:0 for the rest: position:absolute or position:relative [ { "position": "sticky", "top": "0px", "left": null, "bottom": "auto", "right": "auto…

---

_[View the full topic](https://forum.inductiveautomation.com/t/freeze-couple-columns-in-perspective-table-component-from-query/62636)._
