2

I have SharePoint list with multiple views (in modern experience) and when I format a column in one view, the same formatting is applied to the column on all other views.

How do I break this and have the formatting only apply to one view?

0

Column formatting is applied regardless of what view it's used in. It isn't possible to target a specific view with column formatting. You can, however, do this with view formatting. That may or may not meet your needs, though.

If you have more details about what you're trying to accomplish, there may be other options.

3
  • Well, in one view I want a date to be red if it's in the past and in another I want don't want it red and in one view I want the Title to be bigger but not in the other views... I guess I could create calculated columns for this and get away with it – Francis Bruneault Oct 15 '20 at 18:56
  • 1
    You can change the UI of complete row using additionalRowClass (view formatting) based on date value. But (as I said in my answer above) you cannot have different JSON (column) formatting for single column in different views. – Ganesh Sanap Oct 15 '20 at 19:01
  • 1
    Thanks... I will use the info provided. I should be able to get something my users will be happy with. – Francis Bruneault Oct 15 '20 at 19:05
0

In SharePoint, when you apply JSON formatting to column, it will be applied at column level.

So, you cannot break it and have different formatting in different views.

2
  • As @theChrisKent said, you can format your list view altogether using view formatting. And you can have different formatting for different views. But it will take more efforts and that may not meet your requirements. – Ganesh Sanap Oct 15 '20 at 18:57
  • Hi @Francis, Does this answers your question? If Yes, Please Upvote(^) and accept as an Answer as it will help others with same problem in future. It also removes this question from "Unanswered questions" list. If you have any doubt please ask here. – Ganesh Sanap Nov 24 '20 at 15:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.