SharePoint List, Format template, set border not possible

Markus König 45 Reputation points
2023-08-03T13:34:12.0666667+00:00

I would like to customize the style sheet in SharePoint List (the borders).

  • All items
  • Format current view
  • Alternating Row Style
  • Edit row style
  • Odd rows
  • Edit
  • More Styles
  • Borders

A few weeks before I was able to select the formatting without any problems, now this no longer works. When I hold the mouse over an option, the button does not change and I cannot select it.

But if I use the advanced JSON view, then I can paste the code there and the page is also displayed correctly.

What can be the cause?

Options (in german):

2023-08-03 15_26_33-Window

JSON code which is working:

{   
"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/row-formatting.schema.json",   "additionalRowClass": {     
"operator": ":",     
"operands": [       
{         
"operator": "==",         
"operands": [           
{             
"operator": "%",             
"operands": [               
"@rowIndex",               
2             
]           
},           
0         
]       
},       
"sp-field-borderTopBottomRegular sp-field-borderTopBottomSolid sp-css-borderTopColor-neutralPrimary sp-css-borderBottomColor-neutralPrimary",       
{         
"operator": ":",         
"operands": [           
{             
"operator": "==",             
"operands": [               
{                 
"operator": "%",                 
"operands": [                   
"@rowIndex",                   
2                 
]               
},               
1             
]           
},           
"",           
""         
]       
}     
]   
} 
}
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,857 questions
{count} vote

Accepted answer
  1. Emily Du-MSFT 42,506 Reputation points Microsoft Vendor
    2023-08-04T03:30:21.4366667+00:00

    I have tested and reproduce the same issue as you. This may be an occasional issue.

    Please go to Microsoft 365 admin center -> Health -> Service health -> Report the issue.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Joshua Wowk 0 Reputation points
    2023-08-15T20:53:16.4666667+00:00

    I am experiencing this same thing, have been for a few weeks w/ multiple browsers, accounts & machines. Has there been any action on this?

    0 comments No comments

  2. Elena Jarii 0 Reputation points
    2024-05-09T12:42:29.2566667+00:00

    I have the same issue with Microsoft Lists - impossible to change the border for rows via Format View | Alternating Rows styles

    0 comments No comments