Created
July 2, 2024 11:32
-
-
Save tecchan1107/fa82a757797ba81dc1b1ac629d4ec375 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/row-formatting.schema.json", | |
"groupProps": { | |
"headerFormatter": { | |
"elmType": "div", | |
"style": { | |
"flex-direction": "row", | |
"border-radius": "5px", | |
"padding": "10px", | |
"margin": "3px" | |
}, | |
"attributes": { | |
"class": "ms-bgColor-themeLighter" | |
}, | |
"children": [ | |
{ | |
"elmType": "div", | |
"txtContent": "=@group.fieldData+@group.fieldData" | |
}, | |
{ | |
"elmType": "div", | |
"style": { | |
"margin-left": "5px" | |
}, | |
"txtContent": "='('+@group.count+')'" | |
} | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment