Forum Discussion
Column formatting now rolling out to first release users
Column formatting with JSON works great (I'm only trying to word wrap long titles), but as soon as I close the JSON code text box, the formatting is lost - I can't get the code to persist, either when I apply it from the column in the view, or from the Library settings page.
Is there a trick or a default setting I need to unwind in order for the code to be persisted?
This is the simple JSON code I'm using.
{
"elmType": "div",
"txtContent": "@currentField",
"style": { "white-space" : "normal" }
}
Thanks,
Owen
So, I should have stated yesterday that it was the "Title" column where this is not persisting.
(In this doclib, Title is only a line of text, no link to edit, etc.)
In other columns, working fine.
Deleted; jcgonzalezmartin
- DeletedDec 12, 2017
Owen, yes looks like you are right ... all other columns seem to work, just not the title column.
- Owen AllenDec 12, 2017Iron Contributor
And in another tenant, the new doclib has a "Name" column, and it works fine there.
I can't get a "Title" column in a new doclib. This is a migrated doclib that still has a TItle column - perhaps there is some artifact that persisted there. But there must be a lot of doclibs that have both "Title" and "Name" still out there. - let's hope it's still worth a fix for "Title".? Or, maybe I can be told what I need to clear out of this doclib.
Thanks,
Owen
- LincolnDeMarisDec 13, 2017
Microsoft
The issue where column formatting breaks wrapping on the title field is a known issue - we've got the bug logged and hopefully a fix will be available soon.
Owen Allen is that the issue you're talking about, or are you seeing your entire formatting JSON not persisting in some title columns?