Sharepoint Online List (Word Wrap Header)

%3CLINGO-SUB%20id%3D%22lingo-sub-525695%22%20slang%3D%22en-US%22%3ESharepoint%20Online%20List%20(Word%20Wrap%20Header)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-525695%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20a%20SPO%20list%20with%20some%20field%20headings%20that%20are%20long.%26nbsp%3B%20Is%20there%20a%20way%20to%20force%20word%20wrapping%20only%20on%20the%20header%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-525695%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ELists%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-543718%22%20slang%3D%22en-US%22%3ERe%3A%20Sharepoint%20Online%20List%20(Word%20Wrap%20Header)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-543718%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F332983%22%20target%3D%22_blank%22%3E%40spinman%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEdit%20the%20page%2C%20insert%20the%20script%20editor%20and%20then%20paste%20the%20below%20script.%20I%20just%20tested%20and%20its%20working%20fine.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTYLE%20type%3D%22%26quot%3Btext%2Fcss%26quot%3B%22%3E%26amp%3Bamp%3Bamp%3Bamp%3Bamp%3Bamp%3Bamp%3Bamp%3Blt%3BBR%20%2F%26amp%3Bamp%3Bamp%3Bamp%3Bamp%3Bamp%3Bamp%3Bamp%3Bgt%3B.ms-vh%2C%20.ms-vh2-nofilter%2C%20.ms-vh2-nograd%2C%20.ms-vh2%2C%20.ms-vb%26amp%3Bamp%3Bamp%3Bamp%3Bamp%3Bamp%3Bamp%3Bamp%3Blt%3BBR%20%2F%26amp%3Bamp%3Bamp%3Bamp%3Bamp%3Bamp%3Bamp%3Bamp%3Bgt%3B%7Bwhite-space%3A%20normal%7D%26amp%3Bamp%3Bamp%3Bamp%3Bamp%3Bamp%3Bamp%3Bamp%3Blt%3BBR%20%2F%26amp%3Bamp%3Bamp%3Bamp%3Bamp%3Bamp%3Bamp%3Bamp%3Bgt%3B%3C%2FSTYLE%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1589370%22%20slang%3D%22en-US%22%3ERe%3A%20Sharepoint%20Online%20List%20(Word%20Wrap%20Header)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1589370%22%20slang%3D%22en-US%22%3EIs%20it%20possible%20to%20do%20this%20with%20JSON%3F%3C%2FLINGO-BODY%3E
Occasional Contributor

I have a SPO list with some field headings that are long.  Is there a way to force word wrapping only on the header?

2 Replies

@spinman 

 

Edit the page, insert the script editor and then paste the below script. I just tested and its working fine.

 

<style type= "text/css">
.ms-vh, .ms-vh2-nofilter, .ms-vh2-nograd, .ms-vh2, .ms-vb
{white-space: normal}
</style>

Is it possible to do this with JSON?