Nov 12 2019 09:44 AM
I need to conditionally format a view by highlighting the entire list row when a column called 'Contracts Read' (Contracts_x0020_Read) is equal to No.
Ideally I would like to make the list row bold, or highlight it red.
This column is a Yes/No checkbox, and I only want to apply this to one view.
Any help would be appreciated.
Nov 12 2019 12:17 PM
SolutionHi @Sam1209,
Here is an example:
{
"schema": "https://developer.microsoft.com/json-schemas/sp/view-formatting.schema.json",
"additionalRowClass": "=if([$ContractsRead] == false, 'sp-field-severity--blocked', '')"
}
Be sure to update $ContractsRead to $Contracts_x0020_Read.
I hope this helps.
Norm
Nov 12 2019 12:17 PM
SolutionHi @Sam1209,
Here is an example:
{
"schema": "https://developer.microsoft.com/json-schemas/sp/view-formatting.schema.json",
"additionalRowClass": "=if([$ContractsRead] == false, 'sp-field-severity--blocked', '')"
}
Be sure to update $ContractsRead to $Contracts_x0020_Read.
I hope this helps.
Norm