Remove multi column using json

Copper Contributor

Hi,

 

I added JSON formatting code to my Sharepoint list form in order to add sections. After doing this, the form got multiple columns (the fields are stacked in multiple columns depending on window width). Before adding JSON, the form had one column only.

 

Is there a way to keep one column ONLY when adding sections?

 

JSON code I'm using:

 

 

{
    "sections": [
        {
            "displayname": "Section 1",
            "fields": [
                "Title"
            ]
        },
        {
            "displayname": "Section 2",
            "fields": [
          	    ........
            ]
        }
    ]
}

 

 

 

Best,

Markus

3 Replies

@marwal83 No there isn't, it automatically switches to multiple columns when sections are added. Microsoft plan to introduce a single column layout with  sections at some point in the future: https://learn.microsoft.com/en-us/sharepoint/dev/declarative-customization/list-form-configuration#c...

 

Rob
Los Gallardos
Intranet, SharePoint and Power Platform Manager (and classic 1967 Morris Traveller driver)

@RobElliott thanks!

Sorry to hijack your question but I have the exact opposite problem. I WANT to have fields stacked in multiple columns when displaying the item. It is much easier to overlook when having lots of fields, otherwise i end of scrolling forever. So what am i doing wrong? I do have sections that is working fine but it all just displays in one single column.