Forum Discussion

Sam1209's avatar
Sam1209
Brass Contributor
Nov 12, 2019
Solved

SharePoint List View Conditional Formatting

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 b...
  • Norman Young's avatar
    Nov 12, 2019

    Hi 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

Resources