Forum Discussion
specoop1585
Jul 28, 2020Copper Contributor
JSON Column width
Hello SharePoint Forum, Hoping you can help with a question Regarding JSON formatting. I’ve got a list with two columns: a single field and a multi-text line that I’m hoping to better format. The i...
Matti Paukkonen
Jul 29, 2020Iron Contributor
specoop1585
Jul 29, 2020Copper Contributor
Appreciate the response -- Matti Paukkonen - that works for me on my machine (and in that one broswer), but it's not working in a different browser or for my other users.
Best,
Spencer
This also isn't working.
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/column-formatting.schema.json",
"elmType": "div",
"txtContent": "@currentField",
"style": {
"width": "100%",
"font-size": "1.2em"
}
}
- Matti PaukkonenJul 29, 2020Iron Contributor
I got it working with different browsers on my machine (Edge Chromium/Chrome/Firefox). I'll try this one out with my colleague tomorrow.
- Matti PaukkonenJul 30, 2020Iron Contributor
This works also with my colleague.
In list I just save view with the same name after changing column width.
List view web part also shows it correctly.
- Cory_StrischekOct 13, 2020Copper ContributorCan you please attempt this again where you drag, save the view and have a different user/browser/session test to see that your changes are shown for everyone?
I cannot get this to work and would like to know if there's another way to do it.