May 01 2019 04:17 PM - edited May 01 2019 04:19 PM
The following Json formatting code gives me the incorrect row highlighting as seen below. Why and how to fix it please.
{
"schema": "https://developer.microsoft.com/json-schemas/sp/view-formatting.schema.json",
"additionalRowClass": "=if([$Order_x0020_Date]< [$Arrival_x0020_Date],'ms-fontColor-neutralSecondary ms-fontColor-redDark ms-fontSize-mPlus ms-fontWeight-bold sp-field-severity--blocked','')"
}
May 06 2019 01:59 AM
Can you try the below?
{ "schema": "https://developer.microsoft.com/json-schemas/sp/view-formatting.schema.json", "additionalRowClass": "=if( Date(toDateString([$Order_x0020_Date])) < Date(toDateString([$Arrival_x0020_Date])),'ms-fontColor-neutralSecondary ms-fontColor-redDark ms-fontSize-mPlus ms-fontWeight-bold sp-field-severity--blocked','')" }
May 06 2019 01:45 PM - edited May 06 2019 01:46 PM
@Shreyansh Agrawal Thanks for replying but I still get the same results
May 07 2019 01:04 AM
Can you share the following details -
May 07 2019 01:31 PM
Hi,
Using sharepoint lists online and datetime fields