Microsoft Lists/Sharepoint - Formatting Individual Views

Pooja Pujara 0 Reputation points
2024-09-09T20:38:24.0266667+00:00

I am working on Microsoft Lists and have created a custom View for myself, but when I go to format any of the columns (i.e., changing the font size or colors for example), it changes the formatting for ALL of the views. Is there a way to isolate the formatting changes to only one View? Is there also a way I can default my View only to be a "Compact" list every time?

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
5,125 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,044 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Emily Du-MSFT 47,301 Reputation points Microsoft Vendor
    2024-09-10T08:51:53.82+00:00

    There are two types of formatting in the SharePoint online, column formatting and view formatting.

    If applying column formatting, the column will be formatted in all views.

    If applying view formatting, all rows in the view will be formatted.

    For example, change the font size in all rows of a view.

    Go to All items -> Format current view -> Advanced mode -> Apply JSON codes.

    {
     "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/row-formatting.schema.json",
    "schema": "https://developer.microsoft.com/json-schemas/sp/view-formatting.schema.json",
    "additionalRowClass": "sp-field-fontSize24"
    } 
    

    User's image

    So, there is no option to apply the formatting to one column in the only one view.


    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.


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.