How to Freeze Column Headers in a SharePoint Online List
Question details
Keep column headers visible while scrolling through a large 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.
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.
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.
Have a SharePoint developer create a SharePoint Framework (SPFx) web part for the site that contains the list.
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.
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.
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.
Use an approved third-party fixed-header list component
Choose this option if your organization prefers a ready-made component over custom development.
Use a filtered SharePoint list view to reduce scrolling
Use a filtered view as a navigation aid when a custom or third-party component is not available.
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.

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.




