Others

How to Freeze Column Headers in a SharePoint Online List

Aamir Naveed AkramAamir Naveed Akram Nov 20, 2026 868 views

Question details

Keep column headers visible while scrolling through a large SharePoint Online list.

How to Freeze Column Headers in a SharePoint Online List
Product
SharePoint Online Lists
Device & OS
not provided
Scenario
A user needs to navigate list items while retaining the column labels for reference.
Observed behavior
The standard list view does not provide a setting to freeze column headers.
Before you start

Check whether your organization permits custom SharePoint Framework components or third-party apps. Note the list name and the columns users need to see in a fixed-header view.

Solution 1Recommended

Build a custom SharePoint Framework list view with sticky headers

Use a custom web part when you need fixed headers and have access to SharePoint development resources.

This approach creates a separate display of the list; it does not add a freeze-header setting to the standard SharePoint list view.

1
Create a custom web part

Have a SharePoint developer create a SharePoint Framework (SPFx) web part for the site that contains the list.

2
Retrieve list items

In the web part, use the SharePoint REST API or a supported client library to retrieve the required list columns and display them in an HTML table. Account for permissions and pagination for large lists.

3
Make the headers sticky

Place the table in a scrollable container and apply CSS such as position: sticky and top: 0 to its header cells. Set a background color and appropriate z-index so rows do not show through the headers.

4
Deploy and test

Ask an authorized administrator to deploy the SPFx package to the SharePoint app catalog. Add the web part to a SharePoint page, then scroll through the displayed list to test the headers.

Development and approval required: The custom view needs ongoing maintenance and may not reproduce every feature of the standard list view.
Free Microsoft Office alternative

Freeze headers in exported list data with WPS Spreadsheets

WPS Office is a free, lightweight, easy-to-use Office alternative with a familiar interface and Microsoft Office format compatibility for seamless migration. In WPS Spreadsheets, you can freeze a header row in exported list data, although this does not change the SharePoint list itself.

Freeze spreadsheet header rows while scrolling through exported list data.Open and edit Microsoft Excel XLSX files for easy sharing.Use a familiar spreadsheet interface to ease migration from Microsoft Office.Work with a free, lightweight Office alternative.
microsoft office alternative - wps office

Frequently Asked Questions

Can I freeze headers in the standard SharePoint Online list view?

SharePoint Online does not provide a standard setting to freeze list column headers. A custom or third-party display is needed for a fixed-header solution.

Will a filtered view keep column headers visible?

No. Use the Filters pane or a column header menu to reduce the number of displayed items, but filtering does not freeze the headers.

Does an SPFx web part change the original list?

A custom web part can display data from the original list in a separate table, but it does not add a freeze-header setting to the standard list view. Its behavior depends on how the developer builds it.

Can I freeze headers after exporting list data to a spreadsheet?

Yes. Open the exported data in a spreadsheet application such as WPS Spreadsheets and use its View menu to freeze the header row. This affects the spreadsheet, not the SharePoint list.

How can I request a built-in freeze-header feature?

Use the Microsoft 365 Feedback portal to search for an existing SharePoint list header request or submit a new suggestion.