About this sample
A status column is evaluated to provide colors corresponding to status. This format uses the values Red, Yellow, Green, and Amber but you could easily extend this to fit your own color-coded system by adding or removing nested conditions.
Products & metadata
SharePointMicrosoft ListsViewSharePoint OnlineadditionalRowClassms-bgColor-yellow, ms-bgColor-orangeLighter, ms-bgColor-red, ms-bgColor-green, ms-fontColor-whiteView Formatting