How to Freeze the First Two Columns in an MS List on SharePoint Online?

Meg T 20 Reputation points
2025-05-09T13:23:19.12+00:00

Hello,

I need to freeze the first two columns of an MS List within a SharePoint Online site. The List is typically opened through Lists, so that the first column is frozen when scrolling to the right. However, better usability is for the second column to also remain frozen. It looks like this is not a currently-available feature, so hoping someone has accomplished this with a code that they can share.

Thank you for considering.

Microsoft 365 and Office | SharePoint | Development
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2025-05-12T02:03:53.57+00:00

    Hi @Meg T ,

    Good day! Welcome to Q&A forum.

    Currently, SharePoint Online has limitations when it comes to pinning multiple columns, only the first column is pinned in the modern UI. This is a current platform limitation.

    Hope these information helps.

    Please do let us know if you have any further queries.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.