How to Set SharePoint column style (width and color) by Json

Copper Contributor

Hi Everyone, 

 

I have below Json to set the list body page for new item creation. However, I want to know how to set the column's style (width and color) because the default width is too small on the page.

 

By the way, there is an 'iconName' parameter for the header and currently it is equal to 'flow'. I want to know where can I get other value? I mean I want to change the display icon, but I don't know which value can be used. 

 

Very appreciate if you can give me a sample directly, thank you.

 

Kevin_jr_1-1676383320745.png

 

{
    "sections": [       
        {
            "displayname": "Task",
            "fields": [
                "Task"
            ]
        },
        {
            "displayname": "Description",
            "fields": [
                "Description"
            ]
        },
        {
            "displayname": "Status",
            "fields": [
                "Category",
                "Progress",
                "Priority"
            ]
        },
        {
            "displayname": "Schedule",
            "fields": [
                "Start date",
                "Due date",
                "Assigned"
            ]
        }
    ]
}

 

0 Replies