Skip to content

Commit a91bd38

Browse files
ldemarisVesaJuvonen
authored andcommitted
Update column-formatting.md (SharePoint#2328)
1 parent ddca99f commit a91bd38

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/declarative-customization/column-formatting.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,8 @@ This example colors the current field red when the value inside an item's DueDat
188188

189189
To compare the value of a date/time field against a date that's not `@now`, follow the pattern in the following example. The following example colors the current field red if the due date was <= tomorrow. This is accomplished using date math. You can add milliseconds to any date and the result will be a new date. For example, to add a day to a date, you'd add (24\*60\*60\*1000 = 86,400,000).
190190

191+
This example demonstrates an alternate syntax to express a conditional expression, using the ternary (`?`) operator inside an abstract syntax tree.
192+
191193
```JSON
192194
{
193195
"elmType": "div",

0 commit comments

Comments
 (0)