Forum Discussion
SharePoint Online collapse multiple line text field in list view
- 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!
- Jan 17, 2018In the modern experience your choice is to develop a custom SPFx extension...se this: https://docs.microsoft.com/en-us/sharepoint/dev/spfx/extensions/get-started/building-simple-field-customizer
- 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