Skip to content

Commit c657d40

Browse files
Merge pull request SharePoint#6987 from tecchan1107/docfix_issue#6978
Updated view-formatting.md
2 parents 8b7206f + 5e55cdb commit c657d40

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

docs/declarative-customization/view-formatting.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Use view formatting to customize SharePoint
33
description: Customize how views in SharePoint lists and libraries are displayed by constructing a JSON object that describes the elements that are displayed in a list view, and the styles to be applied to those elements.
4-
ms.date: 03/30/2021
4+
ms.date: 05/07/2021
55
localization_priority: Priority
66
---
77

@@ -241,7 +241,6 @@ In this example below, the `headerFormatter` for `groupProps` is used to format
241241
"elmType": "div",
242242
"txtContent": "='has ' + @group.count + if(@group.count > '1', ' employees', ' employee')",
243243
"style": {
244-
"padding": " ",
245244
"font-weight": "500"
246245
}
247246
}
@@ -336,7 +335,6 @@ In this example the `hideFooter` for `groupProps` is set to `true` - to hide the
336335
"elmType": "div",
337336
"txtContent": "='has approval pending for ' + Number(@group.count - Number([$aggregate.value])) + if(@group.count - Number([$aggregate.value]) > 1 , ' employees', ' employee')",
338337
"style": {
339-
"padding": " ",
340338
"font-weight": "500"
341339
}
342340
}
@@ -658,7 +656,6 @@ In the example below we have gallery view with formatted group headers as per co
658656
"elmType": "div",
659657
"txtContent": "='has ' + @group.count + if(@group.count > '1', ' employees', ' employee')",
660658
"style": {
661-
"padding": " ",
662659
"font-weight": "500"
663660
}
664661
}
@@ -765,7 +762,6 @@ In this example the `@aggregates` array is used to display a summary in the grou
765762
"elmType": "div",
766763
"txtContent": "='has approval pending for ' + Number(@group.count - Number([$aggregate.value])) + if(@group.count - Number([$aggregate.value]) > 1 , ' employees', ' employee')",
767764
"style": {
768-
"padding": " ",
769765
"font-weight": "500"
770766
}
771767
}

0 commit comments

Comments
 (0)