You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -129,17 +128,16 @@ The following image shows an example of conditional formatting applied to a text
129
128
130
129

131
130
132
-
You can apply conditional formatting to text or choice fields that might contain a fixed set of values. The following example applies different classes depending on whether the value of the field is Done, In Review, Blocked, or another value. This example applies a CSS class (`sp-field-severity--low, sp-field-severity--good, sp-field-severity--warning, sp-field-severity--blocked`) to the `<div />` based on the field's value. It then outputs a `<span />` element with an `IconName` attribute. This attribute applies another CSS class to that `<span />` that shows an [Office UI Fabric](https://dev.office.com/fabric#/) icon inside that element. Finally, another `<span />` element is output that contains the value inside the field.
131
+
You can apply conditional formatting to text or choice fields that might contain a fixed set of values. The following example applies different classes depending on whether the value of the field is Done, In Review, Has Issues, or another value. This example applies a CSS class (`sp-field-severity--low, sp-field-severity--good, sp-field-severity--warning, sp-field-severity--severeWarning, sp-field-severity--blocked`) to the `<div />` based on the field's value. It then outputs a `<span />` element with an `IconName` attribute. This attribute automatically applies another CSS class to that `<span />` that shows an [Office UI Fabric](https://dev.office.com/fabric#/) icon inside that element. Finally, another `<span />` element is output that contains the value inside the field.
133
132
134
133
This pattern is useful when you want different values to map to different levels of urgency or severity. You can start from this example and edit it to specify your own field values and the styles and icons that should map to those values.
@@ -505,9 +503,10 @@ You can use the following predefined classes for several common scenarios.
505
503
| sp-field-trending--down ||
506
504
| sp-field-quickActions ||
507
505
508
-
> Note - The icons shown above for the `sp-field-severity` classes are **NOT** part of the class. Only the background color is included. Icons can be added by using the `iconName` attribute.
506
+
> [!NOTE]
507
+
> The icons shown above for the `sp-field-severity` classes are **NOT** part of the class. Only the background color is included. Icons can be added by using the `iconName` attribute.
509
508
510
-
In addition to the classes listed above, the classes (such as the theme color, typography, grid system, etc.) defined by the Office UI Fabric can be used. For details, see the [Fabric website](https://dev.office.com/fabric#/styles/icons).
509
+
In addition to the classes listed above, the classes (such as the theme color, typography, grid system, etc.) defined by the Office UI Fabric can be used. For details, see the [Fabric website](https://dev.office.com/fabric#/styles/colors).
511
510
512
511
### Predefined icons
513
512
@@ -557,7 +556,7 @@ Any other value will result in an error.
557
556
558
557
`Button` elements can be used to launch a specific action on the parent item. Every `button` element has a requred property, `customRowAction`, that specifies an `action` that's taken when the button is clicked. This action must be one of the following values:
559
558
560
-
- defaultClick: buttons with this action will do the same thing as clicking the list item in an uncustomized view. Below is an example of a button that, when clicked, simulates a click on the item, which results in the details pane being opened.
559
+
-**defaultClick**: buttons with this action will do the same thing as clicking the list item in an uncustomized view. Below is an example of a button that, when clicked, simulates a click on the item, which results in the details pane being opened.
561
560
562
561
```JSON
563
562
{
@@ -570,7 +569,7 @@ Any other value will result in an error.
570
569
}
571
570
572
571
```
573
-
- share: Clicking the button will open the sharing dialog. Below is an example of this type of button.
572
+
-**share**: Clicking the button will open the sharing dialog. Below is an example of this type of button.
574
573
575
574
```JSON
576
575
{
@@ -583,9 +582,9 @@ Any other value will result in an error.
583
582
}
584
583
585
584
```
586
-
- delete: Clicking the button will open the delete confirmation dialog.
587
-
- editProps: Clicking the button will open the item properties page in edit mode.
588
-
- executeFlow: Clicking the button will launch the specified Flow, specified by ID inside the `actionParams` attribute. For an example of this, see the [Create a button to launch a Flow](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/column-formatting#create-a-button-to-launch-a-flow) section in this document.
585
+
-**delete**: Clicking the button will open the delete confirmation dialog.
586
+
-**editProps**: Clicking the button will open the item properties page in edit mode.
587
+
-**executeFlow**: Clicking the button will launch the specified Flow, specified by ID inside the `actionParams` attribute. For an example of this, see the [Create a button to launch a Flow](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/column-formatting#create-a-button-to-launch-a-flow) section in this document.
589
588
590
589
### txtContent
591
590
@@ -638,6 +637,7 @@ An optional property that specifies style attributes to apply to the element spe
638
637
'rotation-point'
639
638
640
639
'opacity'
640
+
'cursor'
641
641
642
642
'height'
643
643
'max-height'
@@ -646,7 +646,15 @@ An optional property that specifies style attributes to apply to the element spe
0 commit comments