{
"$schema": "https://developer.microsoft.com/json-schemas/sp/view-formatting.schema.json",
"debugMode": true,
"hideSelection": true,
"hideColumnHeader": true,
"rowFormatter": {
"elmType": "div",
"attributes": {
"class": "ms-borderColor-neutralLight"
},
"style": {
"box-sizing": "border-box",
"display": "=if([$CheckoutUser.email] == '', 'block', 'none')",
"width": "100%",
"border-width": "1px",
"border-style": "solid",
"padding": "0 0 0 20px",
"margin-bottom": "10px",
"align-items": "stretch"
},
"children": [
{
"elmType": "div",
"style": {
"flex": "1 0 300px",
"display": "flex",
"flex-wrap": "wrap"
},
"children": [
{
"elmType": "div",
"style": {
"flex": "1 0 300px",
"box-sizing": "border-box",
"padding": "10px"
},
"children": [
{
"elmType": "button",
"attributes": {
"class": "ms-fontSize-xl"
},
"style": {
"line-height": "1.5em",
"margin-bottom": "1em",
"border": "0",
"padding": "0px",
"color": "#0077ff",
"background-color": "transparent",
"cursor": "pointer"
},
"txtContent": "[$FileLeafRef]",
"customRowAction": {
"action": "defaultClick"
}
},
{
"elmType": "div",
"attributes": {
"class": "ms-fontSize-s"
},
"style": {
"line-height": "1.5em",
"margin-bottom": "8px"
},
"txtContent": "='Modified by ' + [$Editor.title] + ', ' + toLocaleString([$Modified])"
}
]
},
{
"elmType": "div",
"style": {
"flex": "0 0 170px",
"display": "flex",
"flex-direction": "column"
},
"children": [
{
"elmType": "button",
"customRowAction": {
"action": "editProps"
},
"txtContent": "Edit Properties",
"attributes": {
"class": "sp-row-button ms-bgColor-neutralLighter ms-fontWeight-semibold"
},
"style": {
"width": "145px",
"height": "32px",
"margin": "20px 0 10px 0"
}
}
]
}
]
}
]
}
}