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
* Added Additional Details
- Added Currency to unsupported column types
- Added note about icons not being included in sp-field-severity classes
- Added note about using other UI Fabric classes
- Added link to Column Formatter
* Updated schema reference in all sample code
@@ -477,6 +484,7 @@ The following are not currently supported:
477
484
* Filename (in Document Libraries)
478
485
* Calculated
479
486
* Retention Label
487
+
* Currency
480
488
481
489
## Style guidelines
482
490
@@ -497,6 +505,10 @@ You can use the following predefined classes for several common scenarios.
497
505
| sp-field-trending--down ||
498
506
| sp-field-quickAction ||
499
507
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.
509
+
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).
511
+
500
512
### Predefined icons
501
513
502
514
You can use predefined icons from Office UI Fabric. For details, see the [Fabric website](https://dev.office.com/fabric#/styles/icons).
@@ -522,6 +534,8 @@ Creating custom column formatting JSON from scratch is simple if you understand
522
534
> [!TIP]
523
535
> At any point, select **Ctrl**+**Space** to have Visual Studio Code offer suggestions for properties and values. For more information, see [Editing JSON with Visual Studio Code](https://code.visualstudio.com/Docs/languages/json).
524
536
537
+
> [!TIP]
538
+
> SharePoint Patterns and Practices provides a free web part, [Column Formatter](https://github.com/SharePoint/sp-dev-solutions/blob/master/solutions/ColumnFormatter/docs/documentation/docs/getting-started.md), that can be used to edit and apply formats directly in the browser.
525
539
526
540
## Detailed syntax reference
527
541
@@ -547,6 +561,7 @@ Any other value will result in an error.
@@ -1005,7 +1027,7 @@ The following example shows how a hyperlink field might be used on a current fie
1005
1027
1006
1028
#### "[$FieldName]"
1007
1029
1008
-
The column is formatted within the context of the entire row. You can use this context to reference the values of other fields within the same row by specififying the **internal name** of the field surrounded by square brackets and preceeded by a dollar sign: `[$InternalName]`. For example, to get the value of a field with an internal name of "MarchSales", use `[$MarchSales]`.
1030
+
The column is formatted within the context of the entire row. You can use this context to reference the values of other fields within the same row by specifying the **internal name** of the field surrounded by square brackets and preceeded by a dollar sign: `[$InternalName]`. For example, to get the value of a field with an internal name of "MarchSales", use `[$MarchSales]`.
1009
1031
1010
1032
If the value of a field is an object, the object's properties can be accessed. For example, to access the "Title" property of a person field named "SalesLead", use "[$SalesLead.title]".
1011
1033
@@ -1017,6 +1039,7 @@ This field can be used to display the current user's email address, but more lik
0 commit comments