How can I pin the heading?
Asked by Marina Ivakhnenko:

I need to pin the heading of the table on the page. My table is long and my users need to see the heading all the time. Are there such option in Confluence like "pin the heading of the table" in Excel or "repeat headings on all the pages" in Word?

Thanks in advance.


Answers:
author: Jakub Hanak
body: Hello [@Marina Ivakhnenko](/t5/user/viewprofilepage/user-id/2567935),

when creating a table, use "Heading row" option. This option will automatically set your heading row pinned to the top once you publish you page.

Best regards,

Jakub


author: roman
body: Hi [@Marina Ivakhnenko](/t5/user/viewprofilepage/user-id/2567935),

do you mean a table 'header' instead of the 'heading'?

Table headers are staying in the viewable area when scrolling a large table by default. However, these might cause headers to stop doing so:

* the space is using the documentation theme (pre Confluence 6),
* a table is inside a page layout (columns and sections),
* a table has no header row or there are cells in the top row that aren't marked as headers,
* a table has a header column, instead of a header row, and scrolls horizontally,
* a table is inside another table, or has another table inside, with its own header row,
* a table only has one column.

Hope this helps.

Roman.

comments: author: Marina Ivakhnenko
body: Roman, hello,

My table is inside page layout. If I have only table on the page it's ok, my header is on the top of the page. Is therer such an option?

Thanks for help.


author: roman
body: [@Marina Ivakhnenko](/t5/user/viewprofilepage/user-id/2567935), do you have multiple tables within a single section?

I am sorry for not seeing the obvious issue, but could you show the problem in the screenshot?

Roman.


author: Marina Ivakhnenko
body: Actually, I have one table. But I have another information on the page. The screen is attached.

My table is in red frame, and it's very long.

And a have a lot of page like this one in the example.

Mary.![Screen.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/42912i8EAD2976C8931593/image-size/large?v=v2&px=999 "Screen.PNG")


author: Jakub Hanak
body: Hello [@Marina Ivakhnenko](/t5/user/viewprofilepage/user-id/2567935),

as I written below, try to use this button and make the first row a "header".

![confl.png](https://community.atlassian.com/t5/image/serverpage/image-id/42914iAB655D1008502A33/image-size/large?v=v2&px=999 "confl.png")Best regards,

Jakub


author: Marina Ivakhnenko
body: Hello,

Thanks for advice. But it works only if I have only table on the page. On my example table goes after text blocks. The header isn't on the page if I scroll the table. ![Screen 2.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/42950iD3897B74DB2E4561/image-size/large?v=v2&px=999 "Screen 2.PNG")


author: roman
body: [@Marina Ivakhnenko](/t5/user/viewprofilepage/user-id/2567935),

as suggested by Jakub you should mark the top row of the table as a header row. It doesn't matter if you have text above the table.

In this example the top row was pinned to the top of the page after I have marked it as a header row:  

![20190121084244.png](https://community.atlassian.com/t5/image/serverpage/image-id/43041iB4A3191BB9B99D2E/image-size/large?v=v2&px=999 "20190121084244.png")Roman


author: Julia
body: Hey [@Roman](/t5/user/viewprofilepage/user-id/3870093) \& [@Jakub Hanak](/t5/user/viewprofilepage/user-id/1973407) - I'm running into a similar requirement discussed on this thread where I'd like to pin the header row of a table with many rows.

In example below - I've defined the row header, but when scrolling down the rows the header is not visible on the page. Please advise if any options to 'repeat header' on a page is possible. This is critical if you have tables with a lot of data so people know the context of the info they're reading.

Thanks,

![Header1.png](https://community.atlassian.com/t5/image/serverpage/image-id/96648i13A4C228145078AB/image-size/large?v=v2&px=999 "Header1.png")![Header2.png](https://community.atlassian.com/t5/image/serverpage/image-id/96649iE5AE6A8186365D26/image-size/large?v=v2&px=999 "Header2.png")

comments: author: roman
body: [@Julia](/t5/user/viewprofilepage/user-id/1873883), are you using Confluence Cloud?

I have tried that on Cloud, but it doesn't work. The solution from above was testing on Confluence Server.


author: Julia
body: [@roman](/t5/user/viewprofilepage/user-id/853566)yes, I am using Confluence Cloud. Are there any workarounds for the cloud to be able to keep the table headers as you scroll down a page?


author: roman
body: I don't think so.