Forum Discussion

Emil Rindell's avatar
Emil Rindell
Copper Contributor
May 28, 2018

Row height on list Sharepoint Online

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?

  • Not currently out of box. Maybe with a field customizer. However in the future they are releasing a row customize feature similar to the column one we have today they might be able to do something.

    You could also always tie a powerapp to s view and have that display your list.
  • 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.

Resources