Skip to content

Commit 8f6c006

Browse files
derhallimVesaJuvonen
authored andcommitted
Updated unclear sentence (SharePoint#3987)
Fixed the text (by using the to determine) to add a clear sentence.
1 parent 2623989 commit 8f6c006

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/declarative-customization/view-formatting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ This example applies the class `sp-field-severity--severeWarning` to a list view
4343

4444
### Conditional classes based on the value in a text or choice field
4545

46-
This example was adopted from a column formatting example, [Conditional formatting based on the value in a text or choice field](https://github.com/SharePoint/sp-dev-list-formatting/tree/master/column-samples/text-conditional-format), with some important differences to apply the concept to list view rows. The column formatting example applies both an icon and a class to a column based on the value of `@currentField`. The `additionalRowClass` attribute in view formatting, however, only allows you to specify a class and not an icon. Additionally, since `@currentField` always resolves to the value of the `Title` field when referenced inside a view format, this sample refers to the `Status` field directly (by using the to determine which class to apply to the row.
46+
This example was adopted from a column formatting example, [Conditional formatting based on the value in a text or choice field](https://github.com/SharePoint/sp-dev-list-formatting/tree/master/column-samples/text-conditional-format), with some important differences to apply the concept to list view rows. The column formatting example applies both an icon and a class to a column based on the value of `@currentField`. The `additionalRowClass` attribute in view formatting, however, only allows you to specify a class and not an icon. Additionally, since `@currentField` always resolves to the value of the `Title` field when referenced inside a view format, this sample refers to the `Status` field directly (by using the [$Field] syntax inside the additionalRowClass property to determine which class to apply to the row).
4747

4848
```JSON
4949
{

0 commit comments

Comments
 (0)