# Perspective flex repeater auto fit header

**URL:** <https://forum.inductiveautomation.com/t/perspective-flex-repeater-auto-fit-header/76451>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [July 17, 2023, 11:12am UTC](https://forum.inductiveautomation.com/t/perspective-flex-repeater-auto-fit-header/76451 "2023-07-17T11:12:59Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [July 17, 2023, 12:58pm UTC](https://forum.inductiveautomation.com/t/perspective-flex-repeater-auto-fit-header/76451/3 "2023-07-17T12:58:11Z")

</div>

you could use position:sticky to keep the header visible. requires a canvas tho

> [@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…

an easier (but uglier(?)) solution would be to use `overflow-y:overlay` (not supported on safari browsers or older browsers)  
which cases the scrollbar to "hover above" the content instead of pushing it to the side, best combined with a little margin so it doesnt obscure the content on the edge

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/0/2004ef2597d861f3e90d6804ff6b571af5939b70.png)

---

_[View the full topic](https://forum.inductiveautomation.com/t/perspective-flex-repeater-auto-fit-header/76451)._
