I want to turn red on items that are expired - to highlight them to staff
Here is my JSON, it is not highlighting anything. Expiration is the field name in the record.
{
"schema": "https://developer.microsoft.com/json-schemas/sp/view-formatting.schema.json",
"CurrentRowClass": "=if([$Expiration] <= '@now', 'style: {color:#ff0000'} ) "
}
"schema": "https://developer.microsoft.com/json-schemas/sp/view-formatting.schema.json",
"CurrentRowClass": "=if([$Expiration] <= '@now', 'style: {color:#ff0000'} ) "
}

Sreekanth ReddyRank #726 · 3.2K reputationPosted Nov 14, 2018, 6:44 PM EST
Nanddeep NachanRank #38 · 35.2K reputationPosted Nov 14, 2018, 7:11 PM EST
Maha Lakshmi106 reputationPosted Nov 15, 2018, 11:51 PM EST