May 28 2018 01:54 AM
Hi,
I'm creating a list that I want to change the height dynamically at each row.
Basically I want all the contents in each rows to be set as "Expand" per default. Please see attached image below:
Is it possible to do this in Modern UI?
May 28 2018 07:37 AM
Dec 01 2023 05:19 AM
@Emil Rindell Try the solution given here using JSON formatting: Increase (not decrease) row height in a SharePoint list using JSON formatting
OP in above thread applied this JSON column formatting to multiple lines of (plain) text column:
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
"elmType": "div",
"txtContent": "@currentField",
"style": {
"height": "auto"
}
}
Note: Multiple lines of (rich) text columns does not support JSON formatting.
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.