Skip to content

Commit a7b6431

Browse files
authored
Update view-formatting.md
1 parent b731985 commit a7b6431

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/declarative-customization/view-formatting.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ In the example below we have list with group headers formatted with group aggreg
261261

262262
![Employee list grouped by City with formatted group header with Aggregates summary](../images/employee-formatted-group-header-aggregate-list-layout.png)
263263

264-
In this example the `hideFooter` for `groupProps` are set to `true`- to hide the group footer and the `@aggregates` array is used to display a summary in the group header.
264+
In this example the `hideFooter` for `groupProps` is set to _true_ - to hide the group footer and the `@aggregates` array is used to display a summary in the group header.
265265

266266
```JSON
267267
{
@@ -572,8 +572,8 @@ In the example below we have gallery view with formatted group headers as per co
572572

573573
![Employee gallery grouped by City with formatted group header](../images/employee-formatted-group-header-gallery-layout.png)
574574

575-
[!NOTE]
576-
Gallery card formatter is skipped in the below JSON for simplicity.
575+
> [!NOTE]
576+
> Gallery card formatter is skipped in the below JSON for simplicity.
577577
578578
```JSON
579579
{
@@ -676,14 +676,14 @@ Gallery card formatter is skipped in the below JSON for simplicity.
676676

677677
#### Example: Color coded group header with aggregate
678678

679-
In the example below we have list with formatted group headers formatted and group aggregates.
679+
In the example below we have list with formatted group headers and group aggregates.
680680

681681
![Employee gallery grouped by City with formatted group header with Aggregates summary](../images/employee-formatted-group-header-aggregate-gallery-layout.png)
682682

683683
In this example the `@aggregates` array is used to display a summary in the group header using `headerFormatter` in `groupProps`.
684684

685-
[!NOTE]
686-
Gallery card formatter is skipped in the below JSON for simplicity.
685+
> [!NOTE]
686+
> Gallery card formatter is skipped in the below JSON for simplicity.
687687
688688
```JSON
689689
{
@@ -854,7 +854,7 @@ For list & compact list layout, `hideFooter` overrides the `footerFormatter`, if
854854

855855
### Special string values
856856

857-
The values for `txtContent`, styles, and attributes can be either strings or Expression objects. A few special string patterns for retrieving values from group and aggregate are supported.
857+
The values for `txtContent`, styles, and attributes can be either strings or expression objects. A few special string patterns for retrieving values from group and aggregate are supported.
858858

859859
#### "@group"
860860

@@ -907,7 +907,7 @@ The `@columnAggregate` object has the following properties (with example values)
907907

908908
Provides access to array of aggregated column's value, display name and aggregate type. Valid in 'List', 'Compact List' and 'Gallery' layouts. Available only inside `groupProps`.
909909

910-
The `@aggregates` object has the following properties (with example value), and can be iterated on using [Column Format foreach](https://docs.microsoft.com/sharepoint/dev/declarative-customization/column-formatting#foreach) property.
910+
The `@aggregates` object has the following properties (with example value), and can be iterated on using [Column Format forEach](https://docs.microsoft.com/sharepoint/dev/declarative-customization/column-formatting#foreach) property.
911911

912912
```JSON
913913
[

0 commit comments

Comments
 (0)