Forum Discussion
SharePoint Online collapse multiple line text field in list view
- Josi MonteroOct 08, 2017Copper ContributorI have it on classic view. Is that the problem? I just hate the modern view...but if i need to switch it i will!
- Amber GneitingJan 04, 2018Brass Contributor
The modern experience will show more than one line of text, but it will limit it to about 4 lines or so and then cut it off if it exceeds their default limit.
If you turn on Versioning on the list/library, you can edit the column to "Append changes to existing text". Instead of showing the multi lines of text, this will show "View entries". You can click this to see all the text, however it will open a new page and not expand to show the text in the list view.
- Jeff DeutschJan 17, 2018Copper Contributor
Can anyone advise if there's a way using the "modern experience" to cause that all lines of all multi-line fields get displayed? Thanks!
- John Aage AndersenOct 09, 2017Iron Contributor
What are the circumstances under which you want to limit what is shown in the multi line text columns in a list view (in a webpart or in the list view page itself)?
Using CSS, it is possible to limit the height of the multi line text columns by adding your own styling for the .ms-rtestate-field style
.ms-rtestate-field{
height:2em;
overflow:hidden;
}
If you then want the content to become visible while the mouse point hovers above the field, add:
.ms-rtestate-field:hover{
height:auto;
}
Kind regards, John