Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [view-formatting]

View formatting is sued to customise how views in SharePoint lists and libraries are displayed.

Filter by
Sorted by
Tagged with
3 votes
1 answer
6k views

SharePoint Online list - format group headers to remove column name

I have a SharePoint Online list that contains employee documents for each of our staff members. I keep it grouped by employee name which is great, but the word 'Employee:' before each name is really ...
Kat's user avatar
  • 33
1 vote
1 answer
3k views

Change column name in view using json view formatting

I have a view in SharePoint online where I need to override column name with a custom value. Is it possible to do this using JSON View Formatting? Ref: https://docs.microsoft.com/en-us/sharepoint/dev/...
Rune's user avatar
  • 249
2 votes
1 answer
7k views

Change the width of a card in Gallery view of a List

I've been been thinking of migrating our existing FAQ from a wiki to a List in SharePoint Online. Changing the view to a Gallery looks promising: But is there a simple way to make the cards wider?
John Go-Soco's user avatar
1 vote
3 answers
2k views

Access information in hidden columns with JSON formatting

I am trying to format a document library in our SharePoint Online platform. The goal is to have a row with a video thumbnail, title and short description. The title is not the same as the video file ...
redleo85's user avatar
  • 153
3 votes
3 answers
1k views

Is it possible to add JSON code to hide and show other rows based on column value?

I am using view formatting with JSON and wondering if its possible to add button that can sort, hide and show other rows based on their column value, like only show items in toys department store and ...
draco00's user avatar
  • 31
2 votes
1 answer
4k views

How to make Tile clickable using JSON

I have the following JSON on my SharePoint (added via Format View for Tiles): { "$schema": "https://developer.microsoft.com/json-schemas/sp/view-formatting.schema.json", "hideSelection": true, "...
Bytsy's user avatar
  • 23
2 votes
1 answer
2k views

How to add an image to a column based on the value of another column (and have it show correctly in Gallery view)?

Desired Behavior: Display an image in the column My Image based on the value in the column Model. My Image is type Picture (I also tried making it type Image but got the same outcome). Model is type ...
user1063287's user avatar
2 votes
2 answers
3k views

SharePoint format groupby over full width (group props headerformatter json)

I have a SharePoint Online list with a groupby in the status field. Now I want to change the whole background of the groupby so that the status row has a different color. I have already applied JSON ...
Kris's user avatar
  • 21
1 vote
2 answers
3k views

Custom view rowformatter - how to make a hyperlink look like a button

I have a list with a hyperlink field. I want to format the link to look like a button. I have tried a gazillion websites, gotten all kinds of CSS, but none of it seems to work. I've tried two ...
VASoftball5's user avatar
1 vote
1 answer
1k views

SharePoint Online list - remove column name from grouped view

I'm trying to remove column names from the grouped list. I followed the instructions given here: SharePoint Online list - format group headers to remove column name but I seem to have another issue. I ...
Marlena's user avatar
  • 25
0 votes
4 answers
722 views

List formatting, column not loaded

Question: How can I enforce to load a column with data without it being seen as a separate column? Problem: I have two columns, title and summary. Now I would like to display only title in list view ...
WG-'s user avatar
  • 177
0 votes
1 answer
1k views

JSON to format SharePoint List items under a Header

I have formatted a list to look like the one below. I would like to wrap them in a DIV so i can have a header above them named "Useful Tools" or something. I can't seem to get a header above ...
Madeline's user avatar
0 votes
1 answer
6k views

Format List View: JSON background colours 'ms-bgColor2' property - very few colours available

I'm attempting to change the colour of the bg-Color property. By standard on my list the colour is set to white. I'd like to change it to a different colour, but there are very few available to me. ...
Tally's user avatar
  • 2,243
0 votes
2 answers
3k views

Row formatting based on a LOOKUP column value in modern SharePoint List

Modern experience SharePoint List A has a LookUpColumn that retrieves values from NumberColumn in ListB. I need conditional formatting that applies a color across an entire row based on a value in the ...
endOfTunnel's user avatar